|
|||||||||
| 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 RuntimeComponentServicepublic RuntimeWire getRuntimeWire(Binding binding)
RuntimeComponentService
getRuntimeWire in interface RuntimeComponentServicebinding - The assembly model binding
public RuntimeWire getRuntimeWire(Binding binding,
InterfaceContract interfaceContract)
RuntimeComponentService
getRuntimeWire in interface RuntimeComponentServicepublic java.util.List<RuntimeWire> getCallbackWires()
RuntimeComponentService
getCallbackWires in interface RuntimeComponentServicepublic ServiceBindingProvider getBindingProvider(Binding binding)
RuntimeComponentService
getBindingProvider in interface RuntimeComponentServicebinding - The assembly model binding
public void setBindingProvider(Binding binding,
ServiceBindingProvider bindingProvider)
RuntimeComponentService
setBindingProvider in interface RuntimeComponentServicebinding - The assembly model bindingbindingProvider - The runtime service binding provider
public Invoker getInvoker(Binding binding,
Operation operation)
RuntimeComponentService
getInvoker in interface RuntimeComponentServicebinding - The assembly model bindingoperation - The assembly model operation
public Invoker getInvoker(Binding binding,
InterfaceContract interfaceContract,
Operation operation)
RuntimeComponentService
getInvoker in interface RuntimeComponentServicebinding - 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 RuntimeComponentServicebinding - The assembly model bindinginterfaceContract - the client interface contractoperation - The assembly model operation
public InvocationChain getInvocationChain(Binding binding,
Operation operation)
RuntimeComponentService
getInvocationChain in interface RuntimeComponentServicebinding - The assembly model bindingoperation - The assembly model operation
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
Contract
clone in interface Contractclone in class ComponentServiceImpljava.lang.CloneNotSupportedExceptionComponentServiceImpl.clone()
public void addPolicyProvider(Binding binding,
PolicyProvider policyProvider)
RuntimeComponentService
addPolicyProvider in interface RuntimeComponentServicebinding - The assembly model bindingpolicyProvider - The policy handlerpublic java.util.List<PolicyProvider> getPolicyProviders(Binding binding)
RuntimeComponentService
getPolicyProviders in interface RuntimeComponentServicebinding - 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 | ||||||||