wt.events
Interface KeyedEventListener

All Known Implementing Classes:
KeyedEventListenerAdapter, ManagedBaselineStoreListener, ServiceEventListenerAdapter

public interface KeyedEventListener



Supported API: true

Extendable: true

See Also:
KeyedEventDispatcher, StandardKeyedEventDispatcher

Method Summary
 void notifyEvent(Object eventObject)
          Notify the listener that a single-object event has occurred.
 void notifyMultiObjectEvent(Object eventObject)
          Notify the listener that a multi-object event has occurred.
 void notifyVetoableEvent(Object eventObject)
          Notify the listener that a single-object event has occurred.
 void notifyVetoableMultiObjectEvent(Object eventObject)
          Notify the listener that a multi-object event has occurred.
 

Method Detail

notifyEvent

void notifyEvent(Object eventObject)
Notify the listener that a single-object event has occurred.

Supported API: true

Parameters:
eventObject -

notifyVetoableEvent

void notifyVetoableEvent(Object eventObject)
                         throws Exception
Notify the listener that a single-object event has occurred. Sometimes the listener may object to the event by throwing an exception. Whether the exception will be honored depends on the object which generated the event.

Supported API: true

Parameters:
eventObject -
Throws:
Exception - the dispatcher and listener must agree on the exception type.

notifyMultiObjectEvent

void notifyMultiObjectEvent(Object eventObject)
Notify the listener that a multi-object event has occurred.

Supported API: true

Parameters:
eventObject -

notifyVetoableMultiObjectEvent

void notifyVetoableMultiObjectEvent(Object eventObject)
                                    throws Exception
Notify the listener that a multi-object event has occurred. Sometimes the listener may object to the event by throwing an exception. Whether the exception will be honored depends on the object which generated the event.

Supported API: true

Parameters:
eventObject -
Throws:
Exception - the dispatcher and listener must agree on the exception type.