|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.logicalcobwebs.proxool.util.AbstractListenerContainer org.logicalcobwebs.proxool.CompositeConfigurationListener
public class CompositeConfigurationListener
A ConfigurationListenerIF
that keeps a list of ConfigurationListenerIF
s
and notifies them in a thread safe manner.
It also implements ListenerContainerIF
which provides methods for
adding
and
removing
listeners.
Field Summary | |
---|---|
(package private) static Log |
LOG
|
Constructor Summary | |
---|---|
CompositeConfigurationListener()
|
Method Summary | |
---|---|
void |
definitionUpdated(ConnectionPoolDefinitionIF connectionPoolDefinition,
java.util.Properties completeInfo,
java.util.Properties changedInfo)
Gets called once after a pool has been updated. |
Methods inherited from class org.logicalcobwebs.proxool.util.AbstractListenerContainer |
---|
addListener, getListeners, isEmpty, removeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final Log LOG
Constructor Detail |
---|
public CompositeConfigurationListener()
Method Detail |
---|
public void definitionUpdated(ConnectionPoolDefinitionIF connectionPoolDefinition, java.util.Properties completeInfo, java.util.Properties changedInfo)
ConfigurationListenerIF
definitionUpdated
in interface ConfigurationListenerIF
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.ConfigurationListenerIF.definitionUpdated(ConnectionPoolDefinitionIF, Properties, Properties)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |