|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RuntimeComponentService
The runtime component service. Provides the bridge between the assembly model representation of a component service and its runtime realization
Method Summary | |
---|---|
void |
addPolicyProvider(Binding binding,
PolicyProvider policyProvider)
Add a policy provider for the given binding to the service |
ServiceBindingProvider |
getBindingProvider(Binding binding)
Returns the service binding provider associated with this component service and the given binding. |
java.util.List<RuntimeWire> |
getCallbackWires()
Get the callback wires associated with this service |
InvocationChain |
getInvocationChain(Binding binding,
InterfaceContract interfaceContract,
Operation operation)
Get the invocation chain for the given binding and operation |
InvocationChain |
getInvocationChain(Binding binding,
Operation operation)
Get the invocation chain for the given binding and operation |
Invoker |
getInvoker(Binding binding,
InterfaceContract interfaceContract,
Operation operation)
Get the invoker for the given binding and operation |
Invoker |
getInvoker(Binding binding,
Operation operation)
Get the invoker for the given binding and operation |
java.util.List<PolicyProvider> |
getPolicyProviders(Binding binding)
Get a list of policy providers for the given binding |
RuntimeWire |
getRuntimeWire(Binding binding)
Get the runtime wire for the given binding |
RuntimeWire |
getRuntimeWire(Binding binding,
InterfaceContract interfaceContract)
Returns the service binding provider associated with this component service and the given binding. |
java.util.List<RuntimeWire> |
getRuntimeWires()
Get a list of runtime wires to the service |
void |
setBindingProvider(Binding binding,
ServiceBindingProvider bindingProvider)
Sets the service binding provider associated with this component service and the given binding. |
Methods inherited from interface org.apache.tuscany.sca.assembly.ComponentService |
---|
getCallbackReference, getService, setCallbackReference, setService |
Methods inherited from interface org.apache.tuscany.sca.assembly.Contract |
---|
clone, getBinding, getBindings, getCallback, getCallbackBinding, getInterfaceContract, setCallback |
Methods inherited from interface org.apache.tuscany.sca.assembly.AbstractContract |
---|
getInterfaceContract, getName, isCallback, setInterfaceContract, setIsCallback, setName |
Methods inherited from interface org.apache.tuscany.sca.assembly.Base |
---|
isUnresolved, setUnresolved |
Methods inherited from interface org.apache.tuscany.sca.assembly.Extensible |
---|
getExtensions |
Methods inherited from interface org.apache.tuscany.sca.assembly.OperationsConfigurator |
---|
getConfiguredOperations |
Methods inherited from interface org.apache.tuscany.sca.policy.PolicySetAttachPoint |
---|
getApplicablePolicySets, getPolicySets |
Methods inherited from interface org.apache.tuscany.sca.policy.IntentAttachPoint |
---|
getRequiredIntents, getType, setType |
Method Detail |
---|
java.util.List<RuntimeWire> getRuntimeWires()
RuntimeWire getRuntimeWire(Binding binding)
binding
- The assembly model binding
java.util.List<RuntimeWire> getCallbackWires()
ServiceBindingProvider getBindingProvider(Binding binding)
binding
- The assembly model binding
RuntimeWire getRuntimeWire(Binding binding, InterfaceContract interfaceContract)
binding
- interfaceContract
-
void setBindingProvider(Binding binding, ServiceBindingProvider bindingProvider)
binding
- The assembly model bindingbindingProvider
- The runtime service binding providerInvoker getInvoker(Binding binding, Operation operation)
binding
- The assembly model bindingoperation
- The assembly model operation
Invoker getInvoker(Binding binding, InterfaceContract interfaceContract, Operation operation)
binding
- The assembly model bindinginterfaceContract
- the client interface contractoperation
- The assembly model operation
InvocationChain getInvocationChain(Binding binding, Operation operation)
binding
- The assembly model bindingoperation
- The assembly model operation
InvocationChain getInvocationChain(Binding binding, InterfaceContract interfaceContract, Operation operation)
binding
- The assembly model bindingoperation
- The assembly model operationinterfaceContract
- the client interface contract
void addPolicyProvider(Binding binding, PolicyProvider policyProvider)
binding
- The assembly model bindingpolicyProvider
- The policy handlerjava.util.List<PolicyProvider> getPolicyProviders(Binding binding)
binding
- The assembly model binding
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |