Interface ProxoolListenerIF

  • All Known Implementing Classes:
    CompositeProxoolListener, ConnectionPoolMBean

    public interface ProxoolListenerIF
    Listener for global Proxool events.
    Since:
    Proxool 0.8
    Version:
    $Revision: 1.2 $, $Date: 2003/03/03 11:11:58 $
    Author:
    Christian Nedregaard (christian_nedregaard@email.com), $Author: billhorsman $ (current maintainer)
    • Method Detail

      • onRegistration

        void onRegistration​(ConnectionPoolDefinitionIF connectionPoolDefinition,
                            java.util.Properties completeInfo)
        Notify that a new connection pool has been registered. Gets called *after* the registered.
        Parameters:
        connectionPoolDefinition - the new definition.
        completeInfo - the properties that could be used to create this definition.
      • onShutdown

        void onShutdown​(java.lang.String alias)
        Notify that a connection pool will be shutdown. Gets called just *before* the pool is shut down.
        Parameters:
        alias - the alias of the pool about to be shut down.