|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationProvider
public class JavaImplementationProvider
Constructor Summary | |
---|---|
JavaImplementationProvider(RuntimeComponent component,
JavaImplementation implementation,
ProxyFactory proxyService,
DataBindingExtensionPoint dataBindingRegistry,
JavaPropertyValueObjectFactory propertyValueObjectFactory,
ComponentContextFactory componentContextFactory,
RequestContextFactory requestContextFactory,
java.util.List<PolicyHandlerTuple> policyHandlerClassNames)
|
Method Summary | |
---|---|
InstanceWrapper |
createInstanceWrapper()
Create a wrapper for the component instance for the scope management |
Invoker |
createInvoker(RuntimeComponentService service,
Operation operation)
Create an invoker for the component implementation in the invocation chain. |
long |
getMaxAge()
|
long |
getMaxIdleTime()
|
Scope |
getScope()
Get the scope for the component implementation |
boolean |
isEagerInit()
Indicate if the component needs to be eagerly initialized |
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 JavaImplementationProvider(RuntimeComponent component, JavaImplementation implementation, ProxyFactory proxyService, DataBindingExtensionPoint dataBindingRegistry, JavaPropertyValueObjectFactory propertyValueObjectFactory, ComponentContextFactory componentContextFactory, RequestContextFactory requestContextFactory, java.util.List<PolicyHandlerTuple> policyHandlerClassNames)
Method 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 Scope getScope()
ScopedImplementationProvider
getScope
in interface ScopedImplementationProvider
public void start()
ImplementationProvider
start
in interface ImplementationProvider
public void stop()
ImplementationProvider
stop
in interface ImplementationProvider
public InstanceWrapper createInstanceWrapper()
ScopedImplementationProvider
createInstanceWrapper
in interface ScopedImplementationProvider
public boolean isEagerInit()
ScopedImplementationProvider
isEagerInit
in interface ScopedImplementationProvider
public long getMaxAge()
getMaxAge
in interface ScopedImplementationProvider
public long getMaxIdleTime()
getMaxIdleTime
in interface ScopedImplementationProvider
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |