org.mule.impl.internal.events
Class ServerEventManager
java.lang.Object
org.mule.impl.internal.events.ServerEventManager
- All Implemented Interfaces:
- Disposable, java.lang.Runnable
- public class ServerEventManager
- extends java.lang.Object
- implements java.lang.Runnable, Disposable
ServerEventManager
manages all server listeners for a Mule Instance
- Version:
- $Revision: 1.5 $
- Author:
- Ross Mason
Field Summary |
protected static Log |
logger
logger used by this class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static transient Log logger
- logger used by this class
ServerEventManager
public ServerEventManager()
registerListener
public void registerListener(UMOServerEventListener listener)
unregisterListener
public void unregisterListener(UMOServerEventListener listener)
clearListeners
public void clearListeners(java.lang.Class listenerClass)
clear
public void clear()
getListeners
protected java.util.HashSet getListeners(java.lang.Class listenerClass)
fireEvent
public void fireEvent(UMOServerEvent event)
dispose
public void dispose()
- Description copied from interface:
Disposable
- A lifecycle method where implementor should fee up any resources
If an exception is thrown it should just be logged and processing should
continue. This method should not throw Runtime exceptions
- Specified by:
dispose
in interface Disposable
notifyListeners
protected void notifyListeners(UMOServerEvent event)
run
public void run()
- When an object implementing interface
Runnable
is used
to create a thread, starting the thread causes the object's
run
method to be called in that separately executing
thread.
The general contract of the method run
is that it may
take any action whatsoever.
- Specified by:
run
in interface java.lang.Runnable
- See Also:
Thread.run()
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.