public class CompositeConfigurationListener extends AbstractListenerContainer implements ConfigurationListenerIF
ConfigurationListenerIF that keeps a list of ConfigurationListenerIFs
and notifies them in a thread safe manner.
It also implements ListenerContainerIF
which provides methods for
adding and
removing listeners.| 构造器和说明 |
|---|
CompositeConfigurationListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
definitionUpdated(ConnectionPoolDefinitionIF connectionPoolDefinition,
Properties completeInfo,
Properties changedInfo)
Gets called once after a pool has been updated.
|
addListener, getListeners, isEmpty, removeListenerpublic void definitionUpdated(ConnectionPoolDefinitionIF connectionPoolDefinition, Properties completeInfo, Properties changedInfo)
ConfigurationListenerIFdefinitionUpdated 在接口中 ConfigurationListenerIFconnectionPoolDefinition - 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)Copyright © 2024. All rights reserved.