org.enhydra.barracuda.core.event
Interface EventDispatcher

All Known Implementing Classes:
DefaultEventDispatcher

public interface EventDispatcher

This interface defines the methods needed to implement an EventDispatcher


Method Summary
 void dispatchEvent(EventBroker eb, EventContext context)
          Dispatch a queue of events.
 

Method Detail

dispatchEvent

public void dispatchEvent(EventBroker eb,
                          EventContext context)
                   throws EventException
Dispatch a queue of events. The incoming queue must be an instance of DefaultDispatchQueue or an EventException will be thrown. This means that if you're going to provide a custom event broker, you may need to provide a custom dispatcher as well.

Parameters:
eb - the event broker to be used to match events to listeners
Throws:
EventException


Copyright © 2001 Enhydra.org