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: 11083 $ $Date: 2012-06-21 10:38:50 +0000 (Thu, 21 Jun 2012) $
| 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
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Throws:
Throwable
Copyright © 2007-2012 Metaform Systems.