|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 ImplementationProviderservice - The component serviceoperation - The operation that the interceptor will handle
public boolean supportsOneWayInvocation()
ImplementationProvider
supportsOneWayInvocation in interface ImplementationProviderpublic Scope getScope()
ScopedImplementationProvider
getScope in interface ScopedImplementationProviderpublic void start()
ImplementationProvider
start in interface ImplementationProviderpublic void stop()
ImplementationProvider
stop in interface ImplementationProviderpublic InstanceWrapper createInstanceWrapper()
ScopedImplementationProvider
createInstanceWrapper in interface ScopedImplementationProviderpublic boolean isEagerInit()
ScopedImplementationProvider
isEagerInit in interface ScopedImplementationProviderpublic long getMaxAge()
getMaxAge in interface ScopedImplementationProviderpublic long getMaxIdleTime()
getMaxIdleTime in interface ScopedImplementationProvider
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||