org.logicalcobwebs.proxool
Class CompositeConfigurationListener
java.lang.Object
org.logicalcobwebs.proxool.util.AbstractListenerContainer
org.logicalcobwebs.proxool.CompositeConfigurationListener
- All Implemented Interfaces:
- ConfigurationListenerIF, org.logicalcobwebs.proxool.util.ListenerContainerIF
public class CompositeConfigurationListener
- extends org.logicalcobwebs.proxool.util.AbstractListenerContainer
- implements ConfigurationListenerIF
A ConfigurationListenerIF
that keeps a list of ConfigurationListenerIF
s
and notifies them in a thread safe manner.
It also implements ListenerContainerIF
which provides methods for
adding
and
removing
listeners.
- Since:
- Proxool 0.7
- Version:
- $Revision: 1.6 $, $Date: 2004/03/16 08:48:32 $
- Author:
- Christian Nedregaard (christian_nedregaard@email.com), $Author: brenuart $ (current maintainer)
Methods inherited from class org.logicalcobwebs.proxool.util.AbstractListenerContainer |
addListener, isEmpty, removeListener |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeConfigurationListener
public CompositeConfigurationListener()
definitionUpdated
public void definitionUpdated(ConnectionPoolDefinitionIF connectionPoolDefinition,
java.util.Properties completeInfo,
java.util.Properties changedInfo)
- Description copied from interface:
ConfigurationListenerIF
- Gets called once after a pool has been updated.
- Specified by:
definitionUpdated
in interface ConfigurationListenerIF
- Parameters:
connectionPoolDefinition
- 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.- See Also:
ConfigurationListenerIF.definitionUpdated(ConnectionPoolDefinitionIF, Properties, Properties)