|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.sca.assembly.impl.BaseImpl
org.apache.tuscany.sca.assembly.impl.ExtensibleImpl
org.apache.tuscany.sca.assembly.impl.ContractImpl
org.apache.tuscany.sca.assembly.impl.AbstractServiceImpl
org.apache.tuscany.sca.assembly.impl.ServiceImpl
org.apache.tuscany.sca.assembly.impl.ComponentServiceImpl
org.apache.tuscany.sca.core.assembly.RuntimeComponentServiceImpl
public class RuntimeComponentServiceImpl
Implementation of a Component Service.
Constructor Summary | |
---|---|
RuntimeComponentServiceImpl()
|
Method Summary | |
---|---|
void |
addPolicyProvider(Binding binding,
PolicyProvider policyProvider)
Add a policy provider for the given binding to the service |
java.lang.Object |
clone()
Returns a clone of the contract. |
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. |
java.lang.String |
toString()
|
Methods inherited from class org.apache.tuscany.sca.assembly.impl.ComponentServiceImpl |
---|
getCallbackReference, getService, promotedAs, setCallbackReference, setService |
Methods inherited from class org.apache.tuscany.sca.assembly.impl.ServiceImpl |
---|
getApplicablePolicySets, getBinding, getBindings, getCallback, getCallbackBinding, getInterfaceContract, getPolicySets, setCallback, setPolicySets |
Methods inherited from class org.apache.tuscany.sca.assembly.impl.ContractImpl |
---|
getConfiguredOperations, getInterfaceContract, getName, getRequiredIntents, getType, isCallback, setConfiguredOperations, setInterfaceContract, setIsCallback, setName, setRequiredIntents, setType |
Methods inherited from class org.apache.tuscany.sca.assembly.impl.ExtensibleImpl |
---|
getExtensions |
Methods inherited from class org.apache.tuscany.sca.assembly.impl.BaseImpl |
---|
isUnresolved, setUnresolved |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.tuscany.sca.assembly.ComponentService |
---|
getCallbackReference, getService, setCallbackReference, setService |
Methods inherited from interface org.apache.tuscany.sca.assembly.Contract |
---|
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 |
Constructor Detail |
---|
public RuntimeComponentServiceImpl()
Method Detail |
---|
public java.util.List<RuntimeWire> getRuntimeWires()
RuntimeComponentService
getRuntimeWires
in interface RuntimeComponentService
public RuntimeWire getRuntimeWire(Binding binding)
RuntimeComponentService
getRuntimeWire
in interface RuntimeComponentService
binding
- The assembly model binding
public RuntimeWire getRuntimeWire(Binding binding, InterfaceContract interfaceContract)
RuntimeComponentService
getRuntimeWire
in interface RuntimeComponentService
public java.util.List<RuntimeWire> getCallbackWires()
RuntimeComponentService
getCallbackWires
in interface RuntimeComponentService
public ServiceBindingProvider getBindingProvider(Binding binding)
RuntimeComponentService
getBindingProvider
in interface RuntimeComponentService
binding
- The assembly model binding
public void setBindingProvider(Binding binding, ServiceBindingProvider bindingProvider)
RuntimeComponentService
setBindingProvider
in interface RuntimeComponentService
binding
- The assembly model bindingbindingProvider
- The runtime service binding providerpublic Invoker getInvoker(Binding binding, Operation operation)
RuntimeComponentService
getInvoker
in interface RuntimeComponentService
binding
- The assembly model bindingoperation
- The assembly model operation
public Invoker getInvoker(Binding binding, InterfaceContract interfaceContract, Operation operation)
RuntimeComponentService
getInvoker
in interface RuntimeComponentService
binding
- The assembly model bindinginterfaceContract
- the client interface contractoperation
- The assembly model operation
public InvocationChain getInvocationChain(Binding binding, InterfaceContract interfaceContract, Operation operation)
RuntimeComponentService
getInvocationChain
in interface RuntimeComponentService
binding
- The assembly model bindinginterfaceContract
- the client interface contractoperation
- The assembly model operation
public InvocationChain getInvocationChain(Binding binding, Operation operation)
RuntimeComponentService
getInvocationChain
in interface RuntimeComponentService
binding
- The assembly model bindingoperation
- The assembly model operation
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
Contract
clone
in interface Contract
clone
in class ComponentServiceImpl
java.lang.CloneNotSupportedException
ComponentServiceImpl.clone()
public void addPolicyProvider(Binding binding, PolicyProvider policyProvider)
RuntimeComponentService
addPolicyProvider
in interface RuntimeComponentService
binding
- The assembly model bindingpolicyProvider
- The policy handlerpublic java.util.List<PolicyProvider> getPolicyProviders(Binding binding)
RuntimeComponentService
getPolicyProviders
in interface RuntimeComponentService
binding
- The assembly model binding
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |