public class PooledConnectionHandler extends Object implements InvocationHandler
| Constructor and Description |
|---|
PooledConnectionHandler(Connection realConnection,
boolean readOnly) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConnectionEventListener(ConnectionEventListener listener) |
static boolean |
assertAllConnectionsClosed(boolean critical) |
void |
close() |
Connection |
getConnection() |
static int |
getOpenConnectionCount() |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
void |
removeConnectionEventListener(ConnectionEventListener listener) |
static void |
resetMonitors() |
public PooledConnectionHandler(Connection realConnection, boolean readOnly)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface InvocationHandlerThrowablepublic void close()
throws SQLException
SQLExceptionpublic Connection getConnection()
public void addConnectionEventListener(ConnectionEventListener listener)
public void removeConnectionEventListener(ConnectionEventListener listener)
public static int getOpenConnectionCount()
public static void resetMonitors()
public static boolean assertAllConnectionsClosed(boolean critical)
Copyright © 2006–2014 Volker Bergmann. All rights reserved.