|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.extension.helper.impl.ImplementationImplementationProvider
public class ImplementationImplementationProvider
The ImplementationProvider createInvoker method is called before the start method but the runtime isn't properly setup until the start method is called. This means that Invoker's can't initialize things like the services, references and properties until start is called. This class tries to get around that by using an Invoker proxy that delays creating the real Invoker till start is called.
Constructor Summary | |
---|---|
ImplementationImplementationProvider(ImplementationActivator implementationActivator,
RuntimeComponent rc,
Implementation impl,
java.lang.Object userImpl)
|
Method Summary | |
---|---|
Invoker |
createInvoker(RuntimeComponentService arg0,
Operation op)
Create an invoker for the component implementation in the invocation chain. |
void |
start()
This method will be invoked when the component implementation is activated. |
void |
stop()
This method will be invoked when the component implementation is deactivated. |
boolean |
supportsOneWayInvocation()
For bindings that invoke one-way callback 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 ImplementationImplementationProvider(ImplementationActivator implementationActivator, RuntimeComponent rc, Implementation impl, java.lang.Object userImpl)
Method Detail |
---|
public Invoker createInvoker(RuntimeComponentService arg0, Operation op)
ImplementationProvider
createInvoker
in interface ImplementationProvider
arg0
- The component serviceop
- The operation that the interceptor will handle
public boolean supportsOneWayInvocation()
ImplementationProvider
supportsOneWayInvocation
in interface ImplementationProvider
public void start()
ImplementationProvider
start
in interface ImplementationProvider
public void stop()
ImplementationProvider
stop
in interface ImplementationProvider
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |