org.mule.transport.jms.xa
Class ConnectionInvocationHandler

java.lang.Object
  extended by org.mule.transport.jms.xa.ConnectionInvocationHandler
All Implemented Interfaces:
InvocationHandler

public class ConnectionInvocationHandler
extends Object
implements InvocationHandler


Constructor Summary
ConnectionInvocationHandler(Object xac)
           
 
Method Summary
 Object getTargetObject()
          Can be one of 3 types.
 Object invoke(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionInvocationHandler

public ConnectionInvocationHandler(Object xac)
Method Detail

getTargetObject

public Object getTargetObject()
Can be one of 3 types. TODO check if we can portably cast it (JMS 1.1 vs 1.0.2b), see Jms102bSupport why

Returns:
underlying XAConnection instance

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.