| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tuscany.sca.binding.jsonrpc.provider.JSONRPCReferenceBindingProvider
public class JSONRPCReferenceBindingProvider
Implementation of the JSONRPC Binding Provider for References
| Constructor Summary | |
|---|---|
JSONRPCReferenceBindingProvider(RuntimeComponent component,
                                RuntimeComponentReference reference,
                                JSONRPCBinding 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.  | 
 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 JSONRPCReferenceBindingProvider(RuntimeComponent component,
                                       RuntimeComponentReference reference,
                                       JSONRPCBinding binding)
| Method Detail | 
|---|
public InterfaceContract getBindingInterfaceContract()
ReferenceBindingProvider
getBindingInterfaceContract in interface ReferenceBindingProviderpublic Invoker createInvoker(Operation operation)
ReferenceBindingProvider
createInvoker in interface ReferenceBindingProvideroperation - The operation that the interceptor will handle
public void start()
ReferenceBindingProvider
start in interface ReferenceBindingProviderpublic void stop()
ReferenceBindingProvider
stop in interface ReferenceBindingProviderpublic boolean supportsOneWayInvocation()
ReferenceBindingProvider
supportsOneWayInvocation in interface ReferenceBindingProvider
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||