Package org.gcube.smartgears.handlers
Class Pipeline<E,H extends Handler<E>>
- java.lang.Object
-
- org.gcube.smartgears.handlers.Pipeline<E,H>
-
- Type Parameters:
E- the type of eventsH- the type of handlers
- Direct Known Subclasses:
ApplicationPipeline,ContainerPipeline
public abstract class Pipeline<E,H extends Handler<E>> extends Object
An ordered listHandlers that handle related events.- Author:
- Fabio Simeoni
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidforward(E event)Forwards an event through the pipeline.List<H>handlers()Returns the handlers in this pipeline.
-