org.logicalcobwebs.proxool

Class CompositeProxoolListener

Implemented Interfaces:
ListenerContainerIF, ProxoolListenerIF

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.
Version:
$Revision: 1.6 $, $Date: 2006/01/18 14:40:01 $
Authors:
Christian Nedregaard (christian_nedregaard@email.com)
$Author: billhorsman $ (current maintainer)
Since:
Proxool 0.8

Method Summary

void
onRegistration(ConnectionPoolDefinitionIF connectionPoolDefinition, Properties completeInfo)
void
onShutdown(String alias)

Methods inherited from class org.logicalcobwebs.proxool.util.AbstractListenerContainer

addListener, getListeners, isEmpty, removeListener

Method Details

onRegistration

public void onRegistration(ConnectionPoolDefinitionIF connectionPoolDefinition,
                           Properties completeInfo)
Specified by:
onRegistration in interface ProxoolListenerIF

onShutdown

public void onShutdown(String alias)
Specified by:
onShutdown in interface ProxoolListenerIF