org.apache.openejb.resource.jdbc.managed.local
Class ManagedConnection
java.lang.Object
org.apache.openejb.resource.jdbc.managed.local.ManagedConnection
- All Implemented Interfaces:
- InvocationHandler
- Direct Known Subclasses:
- ManagedXAConnection
public class ManagedConnection
- extends Object
- implements InvocationHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
delegate
protected Connection delegate
ManagedConnection
public ManagedConnection(CommonDataSource ds,
Connection connection,
TransactionManager txMgr)
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
setAutoCommit
protected void setAutoCommit(boolean value)
throws SQLException
- Throws:
SQLException
pushDataSource
public static void pushDataSource(CommonDataSource ds)
cleanDataSource
public static void cleanDataSource(CommonDataSource ds)
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.