Top Fields Constructors Methods
com.mchange.v2.c3p0.util

public Class ConnectionEventSupport

extends Object
Class Inheritance
Imports
java.util.*, java.sql.*, javax.sql.*

Field Summary

Modifier and TypeField and Description
private HashSet<E>
private PooledConnection

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public synchronized void
public void
public void
public synchronized int
public synchronized void
public synchronized void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

mlistenersback to summary
private HashSet<E> mlisteners
sourceback to summary
private PooledConnection source

Constructor Detail

ConnectionEventSupportback to summary
public ConnectionEventSupport(PooledConnection source)

Method Detail

addConnectionEventListenerback to summary
public synchronized void addConnectionEventListener(ConnectionEventListener mlistener)
fireConnectionClosedback to summary
public void fireConnectionClosed()
fireConnectionErrorOccurredback to summary
public void fireConnectionErrorOccurred(SQLException error)
getListenerCountback to summary
public synchronized int getListenerCount()
printListenersback to summary
public synchronized void printListeners()
removeConnectionEventListenerback to summary
public synchronized void removeConnectionEventListener(ConnectionEventListener mlistener)