com.sap.tc.logging
Interface EventDispatcher

All Known Implementing Classes:
LoggingManager

public interface EventDispatcher

Manage the general event notification mechanism


Method Summary
 void addListener(EventListener listener)
          To add a listener to the logging tool
 void removeListener(EventListener listener)
          To remove a listener from the logging tool.
 

Method Detail

addListener

public void addListener(EventListener listener)
                 throws java.lang.IllegalArgumentException
To add a listener to the logging tool
Parameters:
listener - The event listener to be added
Throws:
java.lang.IllegalArgumentException - Invalid listener type

removeListener

public void removeListener(EventListener listener)
                    throws java.lang.IllegalArgumentException
To remove a listener from the logging tool.
Parameters:
listener - The event listener to be removed
Throws:
java.lang.IllegalArgumentException - Invalid listener type