org.barracudamvc.core.event
Interface EventDispatcher

All Known Implementing Classes:
DefaultEventDispatcher, PageEventDispatcher

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

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
context - the event context containing event, queue, and, sometimes, http information
Throws:
EventException


Copyright © 2006 BarracudaMVC.org All Rights Reserved.