public class CompositeConfigurationListener extends org.logicalcobwebs.proxool.util.AbstractListenerContainer implements ConfigurationListenerIF
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.| Constructor and Description |
|---|
CompositeConfigurationListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
definitionUpdated(ConnectionPoolDefinitionIF connectionPoolDefinition,
java.util.Properties completeInfo,
java.util.Properties changedInfo)
Gets called once after a pool has been updated.
|
public void definitionUpdated(ConnectionPoolDefinitionIF connectionPoolDefinition, java.util.Properties completeInfo, java.util.Properties changedInfo)
ConfigurationListenerIFdefinitionUpdated 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)