Package org.logicalcobwebs.proxool
Class CompositeConfigurationListener
- java.lang.Object
-
- org.logicalcobwebs.proxool.util.AbstractListenerContainer
-
- org.logicalcobwebs.proxool.CompositeConfigurationListener
-
- All Implemented Interfaces:
ConfigurationListenerIF
,ListenerContainerIF
public class CompositeConfigurationListener extends AbstractListenerContainer implements ConfigurationListenerIF
AConfigurationListenerIF
that keeps a list ofConfigurationListenerIF
s and notifies them in a thread safe manner. It also implementsListenerContainerIF
which provides methods foradding
andremoving
listeners.- Since:
- Proxool 0.7
- Version:
- $Revision: 1.7 $, $Date: 2006/01/18 14:40:01 $
- Author:
- Christian Nedregaard (christian_nedregaard@email.com), $Author: billhorsman $ (current maintainer)
-
-
Constructor Summary
Constructors Constructor Description CompositeConfigurationListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, getListeners, isEmpty, removeListener
-
-
-
-
Method Detail
-
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 interfaceConfigurationListenerIF
- 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)
-
-