org.logicalcobwebs.proxool

Interface ProxoolListenerIF

Known Implementing Classes:
CompositeProxoolListener, ConnectionPoolMBean

public interface ProxoolListenerIF

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

Method Summary

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.

Method Details

onRegistration

public void onRegistration(ConnectionPoolDefinitionIF connectionPoolDefinition,
                           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

public void onShutdown(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.