|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.binding.sca.impl.RuntimeSCAReferenceBindingProvider
public class RuntimeSCAReferenceBindingProvider
The sca reference binding provider mediates between the twin requirements of local sca bindings and remote sca bindings. In the local case is does very little. When the sca binding model is set as being remote (because a reference target can't be resolved in the current model) this binding will try and create a remote connection to it
Constructor Summary | |
---|---|
RuntimeSCAReferenceBindingProvider(ExtensionPointRegistry extensionPoints,
RuntimeComponent component,
RuntimeComponentReference reference,
SCABinding binding)
|
Method Summary | |
---|---|
Invoker |
createInvoker(Operation operation)
Create an invoker for the reference binding in the invocation chain. |
InterfaceContract |
getBindingInterfaceContract()
Get the effective interface contract imposed by the binding. |
boolean |
isTargetRemote()
|
void |
start()
This method will be invoked when the component reference binding is activated. |
void |
stop()
This method will be invoked when the component reference binding is deactivated. |
boolean |
supportsOneWayInvocation()
For bindings that invoke one-way operations asynchronously, there is no need to perform a thread switch before calling the invoker. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RuntimeSCAReferenceBindingProvider(ExtensionPointRegistry extensionPoints, RuntimeComponent component, RuntimeComponentReference reference, SCABinding binding)
Method Detail |
---|
public boolean isTargetRemote()
public InterfaceContract getBindingInterfaceContract()
ReferenceBindingProvider
getBindingInterfaceContract
in interface ReferenceBindingProvider
public boolean supportsOneWayInvocation()
ReferenceBindingProvider
supportsOneWayInvocation
in interface ReferenceBindingProvider
public Invoker createInvoker(Operation operation)
ReferenceBindingProvider
createInvoker
in interface ReferenceBindingProvider
operation
- The operation that the interceptor will handle
public void start()
ReferenceBindingProvider
start
in interface ReferenceBindingProvider
public void stop()
ReferenceBindingProvider
stop
in interface ReferenceBindingProvider
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |