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

public Class StatementEventSupport

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

Field Summary

Modifier and TypeField and Description
pack-priv HashSet<E>
pack-priv 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
pack-priv HashSet<E> mlisteners
sourceback to summary
pack-priv PooledConnection source

Constructor Detail

StatementEventSupportback to summary
public StatementEventSupport(PooledConnection source)

Method Detail

addStatementEventListenerback to summary
public synchronized void addStatementEventListener(StatementEventListener mlistener)
fireStatementClosedback to summary
public void fireStatementClosed(PreparedStatement ps)
fireStatementErrorOccurredback to summary
public void fireStatementErrorOccurred(PreparedStatement ps, SQLException error)
getListenerCountback to summary
public synchronized int getListenerCount()
printListenersback to summary
public synchronized void printListeners()
removeStatementEventListenerback to summary
public synchronized void removeStatementEventListener(StatementEventListener mlistener)