org.apache.openejb.resource.jdbc.managed.local
Class ManagedConnection

java.lang.Object
  extended by org.apache.openejb.resource.jdbc.managed.local.ManagedConnection
All Implemented Interfaces:
InvocationHandler
Direct Known Subclasses:
ManagedXAConnection

public class ManagedConnection
extends Object
implements InvocationHandler


Field Summary
protected  Connection delegate
           
 
Constructor Summary
ManagedConnection(Connection connection, TransactionManager txMgr)
           
 
Method Summary
 XAResource getXAResource()
           
 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
 

Field Detail

delegate

protected Connection delegate
Constructor Detail

ManagedConnection

public ManagedConnection(Connection connection,
                         TransactionManager txMgr)
Method Detail

getXAResource

public XAResource getXAResource()
                         throws SQLException
Throws:
SQLException

invoke

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


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.