org.apache.avalon.excalibur.command
Interface EventPipeline

All Known Implementing Classes:
CommandManager

public interface EventPipeline

An EventPipeline is used by the ThreadManager to manage the event Queue and EventHandler relationship. The ThreadManager manages the automatic forwarding of the Events from the queue to the Event Handler.

Author:
Berin Loritsch

Method Summary
 EventHandler getEventHandler()
          Returns the reference to the EventHandler that the events from all the Sinks get merged into.
 Sink[] getSinks()
          There can be many different sinks to merge into a pipeline.
 

Method Detail

getSinks

public Sink[] getSinks()
There can be many different sinks to merge into a pipeline. For the CommandManager, there is only one sink.

getEventHandler

public EventHandler getEventHandler()
Returns the reference to the EventHandler that the events from all the Sinks get merged into.


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.