org.mule.providers.jms.xa
Class ConnectionFactoryWrapper.ConnectionInvocationHandler

java.lang.Object
  extended byorg.mule.providers.jms.xa.ConnectionFactoryWrapper.ConnectionInvocationHandler
All Implemented Interfaces:
InvocationHandler
Enclosing class:
ConnectionFactoryWrapper

public class ConnectionFactoryWrapper.ConnectionInvocationHandler
extends Object
implements InvocationHandler


Nested Class Summary
protected  class ConnectionFactoryWrapper.ConnectionInvocationHandler.SessionInvocationHandler
           
 
Constructor Summary
ConnectionFactoryWrapper.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

ConnectionFactoryWrapper.ConnectionInvocationHandler

public ConnectionFactoryWrapper.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.