net.dpml.util
Interface EventHandler

All Known Implementing Classes:
DefaultStateMachine, UnicastEventSource

public interface EventHandler

Interface implemented by objects that maintain a collection of event listeners and support for operational event propergation.

Version:
1.0.0
Author:
The Digital Product Meta Library

Method Summary
 EventListener[] getEventListeners()
          Return the associated event listeners.
 void processEvent(EventObject event)
          Process the supplied event.
 

Method Detail

getEventListeners

public EventListener[] getEventListeners()
Return the associated event listeners.

Returns:
the event listeners

processEvent

public void processEvent(EventObject event)
Process the supplied event.

Parameters:
event - the event to be processed