Tuscany Core

org.apache.tuscany.core.wire.jdk
Class JDKInvocationHandler

java.lang.Object
  extended by org.apache.tuscany.core.wire.jdk.JDKInvocationHandler
All Implemented Interfaces:
InvocationHandler

public class JDKInvocationHandler
extends Object
implements InvocationHandler

Receives a request from a JDK proxy and dispatches it to a target invoker or source interceptor stack

Version:
$Rev: 408581 $ $Date: 2006-05-21 23:34:24 -0700 (Sun, 21 May 2006) $

Constructor Summary
JDKInvocationHandler(MessageFactory messageFactory, Map<Method,? extends InvocationConfiguration> configuration)
           
 
Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
          Dispatches a client request made on a proxy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDKInvocationHandler

public JDKInvocationHandler(MessageFactory messageFactory,
                            Map<Method,? extends InvocationConfiguration> configuration)
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Dispatches a client request made on a proxy

Specified by:
invoke in interface InvocationHandler
Throws:
Throwable

Tuscany Core

-