org.logicalcobwebs.proxool
类 CompositeProxoolListener

java.lang.Object
  继承者 org.logicalcobwebs.proxool.util.AbstractListenerContainer
      继承者 org.logicalcobwebs.proxool.CompositeProxoolListener
所有已实现的接口:
ProxoolListenerIF, ListenerContainerIF

public class CompositeProxoolListener
extends AbstractListenerContainer
implements ProxoolListenerIF

A ProxoolListenerIF that keeps a list of ProxoolListenerIFs and notifies them in a thread safe manner. It also implements ListenerContainerIF which provides methods for adding and removing listeners.

从以下版本开始:
Proxool 0.8
版本:
$Revision: 1.6 $, $Date: 2006/01/18 14:40:01 $
作者:
Christian Nedregaard (christian_nedregaard@email.com), $Author: billhorsman $ (current maintainer)

构造方法摘要
CompositeProxoolListener()
           
 
方法摘要
 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.
 
从类 org.logicalcobwebs.proxool.util.AbstractListenerContainer 继承的方法
addListener, getListeners, isEmpty, removeListener, stringToUP, UPToString
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

CompositeProxoolListener

public CompositeProxoolListener()
方法详细信息

onRegistration

public void onRegistration(ConnectionPoolDefinitionIF connectionPoolDefinition,
                           Properties completeInfo)
从接口 ProxoolListenerIF 复制的描述
Notify that a new connection pool has been registered. Gets called *after* the registered.

指定者:
接口 ProxoolListenerIF 中的 onRegistration
参数:
connectionPoolDefinition - the new definition.
completeInfo - the properties that could be used to create this definition.
另请参见:
ProxoolListenerIF.onRegistration(ConnectionPoolDefinitionIF, Properties)

onShutdown

public void onShutdown(String alias)
从接口 ProxoolListenerIF 复制的描述
Notify that a connection pool will be shutdown. Gets called just *before* the pool is shut down.

指定者:
接口 ProxoolListenerIF 中的 onShutdown
参数:
alias - the alias of the pool about to be shut down.
另请参见:
ProxoolListenerIF.onShutdown(String)


Copyright © 2014. All rights reserved.