com.mchange.v2.c3p0.util
Class ConnectionEventSupport

java.lang.Object
  extended by com.mchange.v2.c3p0.util.ConnectionEventSupport

public class ConnectionEventSupport
extends java.lang.Object


Constructor Summary
ConnectionEventSupport(javax.sql.PooledConnection source)
           
 
Method Summary
 void addConnectionEventListener(javax.sql.ConnectionEventListener mlistener)
           
 void fireConnectionClosed()
           
 void fireConnectionErrorOccurred(java.sql.SQLException error)
           
 int getListenerCount()
           
 void printListeners()
           
 void removeConnectionEventListener(javax.sql.ConnectionEventListener mlistener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionEventSupport

public ConnectionEventSupport(javax.sql.PooledConnection source)
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)