org.logicalcobwebs.proxool
接口 ProxoolListenerIF

所有已知实现类:
CompositeProxoolListener, ConnectionPoolMBean

public interface ProxoolListenerIF

Listener for global Proxool events.

从以下版本开始:
Proxool 0.8
版本:
$Revision: 1.2 $, $Date: 2003/03/03 11:11:58 $
作者:
Christian Nedregaard (christian_nedregaard@email.com), $Author: billhorsman $ (current maintainer)

方法摘要
 void onRegistration(ConnectionPoolDefinitionIF connectionPoolDefinition, Properties completeInfo)
          Notify that a new connection pool has been registered.
 void onShutdown(String alias)
          Notify that a connection pool will be shutdown.
 

方法详细信息

onRegistration

void onRegistration(ConnectionPoolDefinitionIF connectionPoolDefinition,
                    Properties completeInfo)
Notify that a new connection pool has been registered. Gets called *after* the registered.

参数:
connectionPoolDefinition - the new definition.
completeInfo - the properties that could be used to create this definition.

onShutdown

void onShutdown(String alias)
Notify that a connection pool will be shutdown. Gets called just *before* the pool is shut down.

参数:
alias - the alias of the pool about to be shut down.


Copyright © 2014. All rights reserved.