org.logicalcobwebs.proxool
Interface ConfigurationListenerIF

All Known Implementing Classes:
CompositeConfigurationListener

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);
 

Since:
Proxool 0.6
Version:
$Revision: 1.5 $, $Date: 2003/03/03 11:11:56 $
Author:
billhorsman, $Author: billhorsman $ (current maintainer)

Method Summary
 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 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.