| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.logicalcobwebs.proxool.util.AbstractListenerContainerorg.logicalcobwebs.proxool.CompositeConnectionListenerpublic class CompositeConnectionListenerextends AbstractListenerContainerimplements ConnectionListenerIFConnectionListenerIF that keeps a list of ConnectionListenerIFs
and notifies them in a thread safe manner.
It also implements ListenerContainerIF
which provides methods for
adding and
removing listeners.
Method Summary | |
void |
|
void |
|
void |
|
void |
|
Methods inherited from class org.logicalcobwebs.proxool.util.AbstractListenerContainer | |
addListener, getListeners, isEmpty, removeListener | |
public void onBirth(Connection connection)
throws SQLException
- Specified by:
- onBirth in interface ConnectionListenerIF
public void onDeath(Connection connection)
throws SQLException
- Specified by:
- onDeath in interface ConnectionListenerIF
public void onExecute(String command,
long elapsedTime)
- Specified by:
- onExecute in interface ConnectionListenerIF
public void onFail(String command,
Exception exception)
- Specified by:
- onFail in interface ConnectionListenerIF