|
||||||||||
| 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.CompositeConfigurationListener
A ConfigurationListenerIF that keeps a list of ConfigurationListenerIFs
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
|
| Fields inherited from class org.logicalcobwebs.proxool.util.AbstractListenerContainer |
|
| Constructor Summary | |
CompositeConfigurationListener()
|
|
| Method Summary | |
void |
definitionUpdated(ConnectionPoolDefinitionIF connectionPoolDefinition,
java.util.Properties completeInfo,
java.util.Properties changedInfo)
Gets called once after a pool has been updated. |
| Methods inherited from class org.logicalcobwebs.proxool.util.AbstractListenerContainer |
addListener, getListenerIterator, isEmpty, releaseReadLock, 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 CompositeConfigurationListener()
| Method Detail |
public void definitionUpdated(ConnectionPoolDefinitionIF connectionPoolDefinition,
java.util.Properties completeInfo,
java.util.Properties changedInfo)
ConfigurationListenerIF
definitionUpdated in interface ConfigurationListenerIFconnectionPoolDefinition - the new definitioncompleteInfo - the properties that could be used to create this definitionchangedInfo - only the properties that have changed since the pool was
registered, or this method was las called.ConfigurationListenerIF.definitionUpdated(ConnectionPoolDefinitionIF, Properties, Properties)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||