public class HandlerProcessingAddon
extends java.lang.Object
| Constructor and Description |
|---|
HandlerProcessingAddon() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleContextEvent(Event event)
Responds to the setting of contexts of handlers in the application model and reacts
accordingly.
|
void |
handleHandlerEvent(Event event)
Responds to the coming and goings of handlers in the application model by activating and
deactivating them accordingly.
|
void |
postConstruct(MApplication application,
EModelService modelService)
Do initial check of handlers and their context upon creation
|
@PostConstruct
public void postConstruct(MApplication application,
EModelService modelService)
application - modelService - public void handleHandlerEvent(Event event)
event - The event thrown in the event buspublic void handleContextEvent(Event event)
event - The event which signals the setting of the context.