|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.sca.implementation.spring.SpringImplementationProvider
public class SpringImplementationProvider
A provider class for runtime Spring implementation instances
Constructor Summary | |
---|---|
SpringImplementationProvider(RuntimeComponent component,
SpringImplementation implementation,
ProxyFactory proxyService,
JavaPropertyValueObjectFactory propertyValueObjectFactory,
java.util.List<PolicyHandlerTuple> policyHandlerClassNames)
Constructor for the provider - takes a component definition and a Spring implementation description |
Method Summary | |
---|---|
Invoker |
createInvoker(RuntimeComponentService service,
Operation operation)
Create an invoker for the component implementation in the invocation chain. |
void |
start()
Start this Spring implementation instance |
void |
stop()
Stop this implementation instance |
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 SpringImplementationProvider(RuntimeComponent component, SpringImplementation implementation, ProxyFactory proxyService, JavaPropertyValueObjectFactory propertyValueObjectFactory, java.util.List<PolicyHandlerTuple> policyHandlerClassNames)
component
- - the component in the assemblyimplementation
- - the implementationMethod Detail |
---|
public Invoker createInvoker(RuntimeComponentService service, Operation operation)
ImplementationProvider
createInvoker
in interface ImplementationProvider
service
- The component serviceoperation
- The operation that the interceptor will handle
public boolean supportsOneWayInvocation()
ImplementationProvider
supportsOneWayInvocation
in interface ImplementationProvider
public void start()
start
in interface ImplementationProvider
public void stop()
stop
in interface ImplementationProvider
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |