org.logicalcobwebs.proxool
Class ConfigurationListenerTest.MyConfigurationListener
java.lang.Object
org.logicalcobwebs.proxool.ConfigurationListenerTest.MyConfigurationListener
- All Implemented Interfaces:
- ConfigurationListenerIF
- Enclosing class:
- ConfigurationListenerTest
class ConfigurationListenerTest.MyConfigurationListener
- extends java.lang.Object
- implements ConfigurationListenerIF
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
completeInfo
private java.util.Properties completeInfo
changedInfo
private java.util.Properties changedInfo
connectionPoolDefinition
private ConnectionPoolDefinitionIF connectionPoolDefinition
updateReceived
private boolean updateReceived
ConfigurationListenerTest.MyConfigurationListener
ConfigurationListenerTest.MyConfigurationListener()
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 interface ConfigurationListenerIF
- 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.
getCompleteInfo
public java.util.Properties getCompleteInfo()
getChangedInfo
public java.util.Properties getChangedInfo()
getConnectionPoolDefinition
public ConnectionPoolDefinitionIF getConnectionPoolDefinition()
isUpdateReceived
public boolean isUpdateReceived()
reset
public void reset()