org.logicalcobwebs.proxool
public interface ConfigurationListenerIF
definition
.
This gives you the opportunity to persist a definition.
String alias = "myPool";
ConfigurationListenerIF myConfigurationListener = new MyConfigurationListener();
ProxoolFacade.addConfigurationListener
(alias, myConfigurationListener);
Modifier and Type | Method and Description |
---|---|
void |
definitionUpdated(ConnectionPoolDefinitionIF connectionPoolDefinition,
java.util.Properties completeInfo,
java.util.Properties changedInfo)
Gets called once after a pool has been updated.
|
void definitionUpdated(ConnectionPoolDefinitionIF connectionPoolDefinition, java.util.Properties completeInfo, java.util.Properties changedInfo)
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.