org.logicalcobwebs.proxool

Interface ConfigurationListenerIF

Known Implementing Classes:
CompositeConfigurationListener, ConnectionPoolMBean

public interface ConfigurationListenerIF

Listens to any changes made to a definition. This gives you the opportunity to persist a definition.
 String alias = "myPool";
 ConfigurationListenerIF myConfigurationListener = new MyConfigurationListener();
 ProxoolFacade.addConfigurationListener(alias, myConfigurationListener);
 
Version:
$Revision: 1.5 $, $Date: 2003/03/03 11:11:56 $
Authors:
billhorsman
$Author: billhorsman $ (current maintainer)
Since:
Proxool 0.6

Method Summary

void
definitionUpdated(ConnectionPoolDefinitionIF connectionPoolDefinition, Properties completeInfo, Properties changedInfo)
Gets called once after a pool has been updated.

Method Details

definitionUpdated

public void definitionUpdated(ConnectionPoolDefinitionIF connectionPoolDefinition,
                              Properties completeInfo,
                              Properties changedInfo)
Gets called once after a pool has been updated.
Parameters:
connectionPoolDefinition - the new definition
completeInfo - the properties that could be used to create this definition
changedInfo - only the properties that have changed since the pool was registered, or this method was las called.