Package org.barracudamvc.core.event

Interface Summary
ApplicationAssembler This interface defines an ApplicationAssembler.
BaseEvent This interface defines the methods needed to implement a BaseEvent
BaseEventListener This class defines the methods for Event listeners
ControlEventContext This interface extends the EventContext to provide access to the HttpServletRequest.
DispatcherFactory This interface defines the methods needed to create an instance of an event dispatcher
DispatchQueue This interface defines the methods needed to implement a DispatchQueue
EventBroker This interface defines the methods needed to implement an EventBroker
EventContext This interface defines the event context.
EventDispatcher This interface defines the methods needed to implement an EventDispatcher
EventGateway An EventGateway simply represents a gateway to a set of event handlers within a system.
EventPool This indterface defines the methods needed to implement an EventPool
Exceptional This marker interface indicates an Event must be handled, and if it's not, the parent event should be dispatched.
ListenerFactory This interface defines the methods needed to be an ListenerFactory.
LongRunning This interface indicates an EventHandler takes a long time to run.
Polymorphic This interface indicates an Event is Polymorphic, in the sense that firing it causes parent events to be fired first.
ViewEventContext This interface extends the ControlEventContext to provide access to the HttpServletResponse object as well.
 

Class Summary
A_Classes The purpose of this class is to define the default classes which are used within the Barracuda event package.
ApplicationGateway The application gateway is responsible for a number of things.
ControlEvent This defines a basic event, representing some kind of Control function (it's basically just saying "Hey something happened, tell everyone who cares").
DefaultApplicationAssembler This class assembles a Barracuda system based on one or more XML descriptor files.
DefaultBaseEvent This is the default implementation for the BaseEvent interface.
DefaultBaseEventListener This class provides the default implementation for a BaseEventListener.
DefaultDispatcherFactory This interface defines the methods needed to create an instance of an event dispatcher.
DefaultDispatchQueue The DispatchQueue as a relatively shortlived structure...the Queue would be created by the dispatcher, and it would be discarded when the events have been delivered.
DefaultEventBroker An EventBroker is responsible for two basic tasks: it serves as a registry for listeners to express interest in in events (or to make themselves generally available) it serves as the central point in a system for dispatching events to interested parties.
DefaultEventContext The context contains information about the event (event, queue, plus request and response info if appropriate).
DefaultEventDispatcher This class is responsible for dispatching a queue of events to interested listeners.
DefaultEventGateway Default implementation of an EventGateway.
DefaultEventPool This class acts as a pool for Events.
DefaultListenerFactory This class provides the default implementaion for a ListenerFactory Note that a factory is responsible for ensuring threadsafety within the underlying listener, so the factory should either return a new instance of the listener OR keep one static synchronized instance and return that instead.
HttpRequestEvent A HttpRequestEvent indicates that we received an HTTP Request.
HttpResponseEvent A HttpResponseEvent indicates that we received an HTTP Response.
ViewEvent This defines a basic View event, indicating some kind of response/view must be generated.
 

Exception Summary
ClientSideRedirectException This class defines a ClientSideRedirectException...throwing this will cause the ApplicationGateway to redirect the browser to the new Event.
EventException This class defines the basic event exception.
InterruptDispatchException This class defines a InterruptDispatchException...it is used to interrupt the dispatch, flag all events currently in the queue as handled, and then redispatch the new event
InvalidClassException This class defines a InvalidClassException...it typically gets thrown when a Class is referenced that does not implement the type expected (ie.
NoAvailableEventsException This class defines a NoAvailableEventsException...it gets thrown when there there are event handlers but none of them actually handle it
UnhandledEventException This class defines a UnhandledEventException...it gets thrown when there there are event handlers but none of them actually handle it
 



Copyright © 2004 BarracudaMVC.org All Rights Reserved.