|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.ghn.service.handlers.DefaultPipeline<T>
T - public class DefaultPipeline<T extends ServiceHandler<T>>
Default implementation of Pipeline.
| Constructor Summary | |
|---|---|
DefaultPipeline(List<T> handlers)
Creates an instance with a given set of handlers. |
|
| Method Summary | |
|---|---|
void |
forward(ServiceEvent<T> e)
Forwards an event a step further through the pipeline. |
List<T> |
handlers()
Returns the handlers currently in the pipeline. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultPipeline(List<T> handlers)
Modification to the input List are not reflected in the Pipeline.
handlers - the handlers| Method Detail |
|---|
public List<T> handlers()
Pipeline
handlers in interface Pipeline<T extends ServiceHandler<T>>public void forward(ServiceEvent<T> e)
Pipeline
forward in interface Pipeline<T extends ServiceHandler<T>>e - the event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||