com.sap.tc.logging
Interface EventDispatcher
- All Known Implementing Classes:
- LoggingManager
- public interface EventDispatcher
Manage the general event notification mechanism
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