org.logicalcobwebs.proxool.util
Interface ListenerContainerIF
- AbstractListenerContainer, CompositeConfigurationListener, CompositeConnectionListener, CompositeProxoolListener, CompositeStateListener, CompositeStatisticsListener
public interface ListenerContainerIF
A container for event listeners. Implementations should cater to only one type of listeners.
$Revision: 1.2 $, $Date: 2003/03/03 11:12:02 $- Christian Nedregaard (christian_nedregaard@email.com)
- $Author: billhorsman $ (current maintainer)
void | addListener(Object listener) - Add a listener to this container.
|
boolean | isEmpty() - Get wether this container is empty or not.
|
boolean | removeListener(Object listener) - Remove a listener from this container.
|
addListener
public void addListener(Object listener)
Add a listener to this container.
listener
- the listener to add.
isEmpty
public boolean isEmpty()
Get wether this container is empty or not.
- wether this container is empty or not.
removeListener
public boolean removeListener(Object listener)
Remove a listener from this container.
listener
- the listener to be removed.
- wether the listnener was found and removed or not.