Package com.mchange.v2.c3p0.util
Class ConnectionEventSupport
- java.lang.Object
-
- com.mchange.v2.c3p0.util.ConnectionEventSupport
-
public class ConnectionEventSupport extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ConnectionEventSupport(javax.sql.PooledConnection source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConnectionEventListener(javax.sql.ConnectionEventListener mlistener)
void
fireConnectionClosed()
void
fireConnectionErrorOccurred(java.sql.SQLException error)
int
getListenerCount()
void
printListeners()
void
removeConnectionEventListener(javax.sql.ConnectionEventListener mlistener)
-
-
-
Method Detail
-
addConnectionEventListener
public void addConnectionEventListener(javax.sql.ConnectionEventListener mlistener)
-
removeConnectionEventListener
public void removeConnectionEventListener(javax.sql.ConnectionEventListener mlistener)
-
printListeners
public void printListeners()
-
getListenerCount
public int getListenerCount()
-
fireConnectionClosed
public void fireConnectionClosed()
-
fireConnectionErrorOccurred
public void fireConnectionErrorOccurred(java.sql.SQLException error)
-
-