Package org.logicalcobwebs.proxool
Interface ConfigurationListenerIF
-
- All Known Implementing Classes:
CompositeConfigurationListener
,ConnectionPoolMBean
public interface ConfigurationListenerIF
Listens to any changes made to adefinition
. This gives you the opportunity to persist a definition.String alias = "myPool"; ConfigurationListenerIF myConfigurationListener = new MyConfigurationListener(); ProxoolFacade.
addConfigurationListener
(alias, myConfigurationListener);- Since:
- Proxool 0.6
- Version:
- $Revision: 1.5 $, $Date: 2003/03/03 11:11:56 $
- Author:
- billhorsman, $Author: billhorsman $ (current maintainer)
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
definitionUpdated
void definitionUpdated(ConnectionPoolDefinitionIF connectionPoolDefinition, java.util.Properties completeInfo, java.util.Properties changedInfo)
Gets called once after a pool has been updated.- 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.
-
-