|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the (recursive) type of the handler.public interface ServiceHandler<T extends ServiceHandler<T>>
Registers in Pipelines to handle ServiceEvents about a managed app.
Handlers may or may not propagate the events to the other handlers registered in the same pipeline
Pipeline.forward(ServiceEvent).
ServiceEvent,
Pipeline| Method Summary | |
|---|---|
String |
name()
Returns the name of the handler. |
void |
onEvent(Pipeline<T> pipeline,
ServiceEvent<T> e)
Processes a given event. |
| Method Detail |
|---|
String name()
void onEvent(Pipeline<T> pipeline,
ServiceEvent<T> e)
pipeline - the pipeline in which the handler is registered.e - the event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||