org.barracudamvc.core.event
Interface EventDispatcher
- All Known Implementing Classes:
- DefaultEventDispatcher
- public interface EventDispatcher
This interface defines the methods needed to implement an
EventDispatcher
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 listenerscontext
- the event context containing event, queue, and, sometimes, http information
- Throws:
EventException
Copyright © 2004 BarracudaMVC.org All Rights Reserved.