intarsys runtime library

de.intarsys.tools.event
Interface INotificationSupport

All Known Implementing Classes:
CommonNotificationSupport, EventDispatcher, MemoryLogHandler, NotificationSupportProxy, PreferencesAdapter

public interface INotificationSupport

The implementor supports registration of INotificationListener objects to be informed about event.


Method Summary
 void addNotificationListener(EventType type, INotificationListener listener)
          Add listener to the collection of objects to be informed when the receiver triggers an event of type name.
 void removeNotificationListener(EventType type, INotificationListener listener)
          Remove listener from the collection of objects to be informed about events of type name.
 

Method Detail

addNotificationListener

void addNotificationListener(EventType type,
                             INotificationListener listener)
Add listener to the collection of objects to be informed when the receiver triggers an event of type name.

Parameters:
type - The event type we are interested in.
listener - The object to be informed about an event occurrence

removeNotificationListener

void removeNotificationListener(EventType type,
                                INotificationListener listener)
Remove listener from the collection of objects to be informed about events of type name.

Parameters:
type - The event type we are no longer interested in.
listener - The object registered for the event till now.

intarsys runtime library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.