|
||||||||||
| 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,
ServiceContext context)
Creates an instance with a given set of handlers and a Properties. |
|
| Method Summary | |
|---|---|
String |
appName()
Returns the name of the managed application. |
ServiceContext |
context()
Returns the properties of this pipeline |
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,
ServiceContext context)
Properties.
Modification to the input List are not reflected in the Pipeline.
handlers - the handlersboard - the board| Method Detail |
|---|
public ServiceContext context()
Pipeline
context in interface Pipeline<T extends ServiceHandler<T>>public String appName()
Pipeline
appName in interface Pipeline<T extends ServiceHandler<T>>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 | |||||||||