|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the type of the registered handlerspublic interface Pipeline<T extends ServiceHandler<T>>
An ordered list ServiceHandlers registered to handle ServiceEvents of the same type.
Clients dispatch events to pipelines and handlers are responsible to forward them to subsequent handlers.
Handlers can exchange data by writing and reading from a Properties.
ServiceHandler,
ServiceEvent| 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. |
| Method Detail |
|---|
List<T> handlers()
void forward(ServiceEvent<T> e)
e - the eventString appName()
ServiceContext context()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||