org.logicalcobwebs.proxool
接口 ConfigurationListenerIF

所有已知实现类:
CompositeConfigurationListener, ConnectionPoolMBean

public interface ConfigurationListenerIF

Listens to any changes made to a definition. This gives you the opportunity to persist a definition.

 String alias = "myPool";
 ConfigurationListenerIF myConfigurationListener = new MyConfigurationListener();
 ProxoolFacade.addConfigurationListener(alias, myConfigurationListener);
 

从以下版本开始:
Proxool 0.6
版本:
$Revision: 1.5 $, $Date: 2003/03/03 11:11:56 $
作者:
billhorsman, $Author: billhorsman $ (current maintainer)

方法摘要
 void definitionUpdated(ConnectionPoolDefinitionIF connectionPoolDefinition, Properties completeInfo, Properties changedInfo)
          Gets called once after a pool has been updated.
 

方法详细信息

definitionUpdated

void definitionUpdated(ConnectionPoolDefinitionIF connectionPoolDefinition,
                       Properties completeInfo,
                       Properties changedInfo)
Gets called once after a pool has been updated.

参数:
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.


Copyright © 2014. All rights reserved.