org.logicalcobwebs.proxool
Class ConfigurationListenerTest.MyConfigurationListener

java.lang.Object
  extended by org.logicalcobwebs.proxool.ConfigurationListenerTest.MyConfigurationListener
All Implemented Interfaces:
ConfigurationListenerIF
Enclosing class:
ConfigurationListenerTest

 class ConfigurationListenerTest.MyConfigurationListener
extends java.lang.Object
implements ConfigurationListenerIF


Field Summary
private  java.util.Properties changedInfo
           
private  java.util.Properties completeInfo
           
private  ConnectionPoolDefinitionIF connectionPoolDefinition
           
private  boolean updateReceived
           
 
Constructor Summary
ConfigurationListenerTest.MyConfigurationListener()
           
 
Method Summary
 void definitionUpdated(ConnectionPoolDefinitionIF connectionPoolDefinition, java.util.Properties completeInfo, java.util.Properties changedInfo)
          Gets called once after a pool has been updated.
 java.util.Properties getChangedInfo()
           
 java.util.Properties getCompleteInfo()
           
 ConnectionPoolDefinitionIF getConnectionPoolDefinition()
           
 boolean isUpdateReceived()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

completeInfo

private java.util.Properties completeInfo

changedInfo

private java.util.Properties changedInfo

connectionPoolDefinition

private ConnectionPoolDefinitionIF connectionPoolDefinition

updateReceived

private boolean updateReceived
Constructor Detail

ConfigurationListenerTest.MyConfigurationListener

ConfigurationListenerTest.MyConfigurationListener()
Method Detail

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

getCompleteInfo

public java.util.Properties getCompleteInfo()

getChangedInfo

public java.util.Properties getChangedInfo()

getConnectionPoolDefinition

public ConnectionPoolDefinitionIF getConnectionPoolDefinition()

isUpdateReceived

public boolean isUpdateReceived()

reset

public void reset()