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)
| 从类 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.