public class ManagedConnection extends Object implements InvocationHandler
| Modifier and Type | Field and Description |
|---|---|
protected Connection |
delegate |
| Constructor and Description |
|---|
ManagedConnection(CommonDataSource ds,
Connection connection,
TransactionManager txMgr) |
| Modifier and Type | Method and Description |
|---|---|
static void |
cleanDataSource(CommonDataSource ds) |
XAResource |
getXAResource() |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
static void |
pushDataSource(CommonDataSource ds) |
protected void |
setAutoCommit(boolean value) |
protected Connection delegate
public ManagedConnection(CommonDataSource ds, Connection connection, TransactionManager txMgr)
public XAResource getXAResource() throws SQLException
SQLExceptionpublic Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface InvocationHandlerThrowableprotected void setAutoCommit(boolean value)
throws SQLException
SQLExceptionpublic static void pushDataSource(CommonDataSource ds)
public static void cleanDataSource(CommonDataSource ds)
Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.