org.fabric3.implementation.proxy.jdk
Class StatefulCallbackInvocationHandler<T>
java.lang.Object
org.fabric3.implementation.proxy.jdk.AbstractCallbackInvocationHandler<T>
org.fabric3.implementation.proxy.jdk.StatefulCallbackInvocationHandler<T>
- All Implemented Interfaces:
- InvocationHandler
public class StatefulCallbackInvocationHandler<T>
- extends AbstractCallbackInvocationHandler<T>
Responsible for dispatching to a callback service from a component implementation instance that is not composite scope. Since only one client can
invoke the instance this proxy is injected on at a time, there can only be one callback target, even if the proxy is injected on an instance
variable. Consequently, the proxy does not need to map the callback target based on the forward request.
- Version:
- $Rev: 9763 $ $Date: 2011-01-03 00:48:06 +0000 (Mon, 03 Jan 2011) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatefulCallbackInvocationHandler
public StatefulCallbackInvocationHandler(Class<T> interfaze,
Map<Method,org.fabric3.spi.wire.InvocationChain> chains)
- Constructor.
- Parameters:
interfaze - the callback service interface implemented by the proxychains - the invocation chain mappings for the callback wire
StatefulCallbackInvocationHandler
public StatefulCallbackInvocationHandler(Class<T> interfaze,
org.fabric3.spi.component.ScopeContainer scopeContainer,
Map<Method,org.fabric3.spi.wire.InvocationChain> chains)
- Constructor.
- Parameters:
interfaze - the callback service interface implemented by the proxyscopeContainer - the conversational scope containerchains - the invocation chain mappings for the callback wire
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Throws:
Throwable
Copyright © 2007-2011 Metaform Systems.