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 IllegalArgumentException
To add a listener to the logging tool

Parameters:
listener - The event listener to be added
Throws:
IllegalArgumentException - Invalid listener type

removeListener

public void removeListener(EventListener listener)
                    throws IllegalArgumentException
To remove a listener from the logging tool.

Parameters:
listener - The event listener to be removed
Throws:
IllegalArgumentException - Invalid listener type


Copyright 2006 SAP AG Complete Copyright Notice