| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.logicalcobwebs.proxool.util.AbstractListenerContainer
org.logicalcobwebs.proxool.CompositeProxoolListener
public class CompositeProxoolListener
A ProxoolListenerIF that keeps a list of ProxoolListenerIFs
 and notifies them in a thread safe manner.
 It also implements ListenerContainerIF
 which provides methods for
 adding and
 removing listeners.
| Field Summary | |
|---|---|
(package private) static Log | 
LOG
 | 
| Constructor Summary | |
|---|---|
CompositeProxoolListener()
 | 
|
| Method Summary | |
|---|---|
 void | 
onRegistration(ConnectionPoolDefinitionIF connectionPoolDefinition,
               java.util.Properties completeInfo)
Notify that a new connection pool has been registered.  | 
 void | 
onShutdown(java.lang.String alias)
Notify that a connection pool will be shutdown.  | 
| Methods inherited from class org.logicalcobwebs.proxool.util.AbstractListenerContainer | 
|---|
addListener, getListeners, isEmpty, removeListener | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
static final Log LOG
| Constructor Detail | 
|---|
public CompositeProxoolListener()
| Method Detail | 
|---|
public void onRegistration(ConnectionPoolDefinitionIF connectionPoolDefinition,
                           java.util.Properties completeInfo)
ProxoolListenerIF
onRegistration in interface ProxoolListenerIFconnectionPoolDefinition - the new definition.completeInfo - the properties that could be used to create this definition.ProxoolListenerIF.onRegistration(ConnectionPoolDefinitionIF, Properties)public void onShutdown(java.lang.String alias)
ProxoolListenerIF
onShutdown in interface ProxoolListenerIFalias - the alias of the pool about to be shut down.ProxoolListenerIF.onShutdown(String)
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||