| Modifier and Type | Method and Description |
|---|---|
Set<SHandler<SEvent>> |
EventService.getHandlers(String eventType)
Retrieve the list of all registered Handlers or the given EventType
|
| Modifier and Type | Method and Description |
|---|---|
void |
EventService.fireEvent(SEvent event)
Fire the specified Event to the registered handlers.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EventService.addHandler(String eventType,
SHandler<SEvent> userHandler)
Add the given handler to the Event Manager's handlers list.
|
void |
EventService.removeAllHandlers(SHandler<SEvent> handler)
Remove the given handler from the Event Service's handlers lists.
|
void |
EventService.removeHandler(String eventType,
SHandler<SEvent> handler)
Remove the given handler from the given event type filter
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,List<SHandler<SEvent>>> |
EventServiceImpl.registeredHandlers
Contains a list of all events type and their registered handlers
|
| Modifier and Type | Method and Description |
|---|---|
Set<SHandler<SEvent>> |
AbstractEventServiceImpl.getHandlers(String eventType) |
protected Collection<SHandler<SEvent>> |
EventServiceImpl.getHandlersFor(String eventType) |
protected abstract Collection<SHandler<SEvent>> |
AbstractEventServiceImpl.getHandlersFor(String type) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractEventServiceImpl.fireEvent(SEvent event)
Fire the given Event only to interested handlers
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractEventServiceImpl.addHandler(String eventType,
SHandler<SEvent> handler)
No handler duplication in a list for a given event type
|
protected void |
EventServiceImpl.addHandlerFor(String eventType,
SHandler<SEvent> handler) |
protected abstract void |
AbstractEventServiceImpl.addHandlerFor(String eventType,
SHandler<SEvent> handler) |
void |
AbstractEventServiceImpl.removeAllHandlers(SHandler<SEvent> handler) |
protected void |
EventServiceImpl.removeAllHandlersFor(SHandler<SEvent> handler) |
protected abstract void |
AbstractEventServiceImpl.removeAllHandlersFor(SHandler<SEvent> handler) |
void |
AbstractEventServiceImpl.removeHandler(String eventType,
SHandler<SEvent> h) |
protected void |
EventServiceImpl.removeHandlerFor(String eventType,
SHandler<SEvent> h) |
protected abstract void |
AbstractEventServiceImpl.removeHandlerFor(String eventType,
SHandler<SEvent> h) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SHandler<T extends SEvent> |
| Modifier and Type | Class and Description |
|---|---|
class |
SDeleteEvent
represent the deletion of an persisted element
|
class |
SInsertEvent |
class |
SUpdateEvent |
| Constructor and Description |
|---|
ProcessExecutorImpl(org.bonitasoft.engine.core.process.instance.api.ActivityInstanceService activityInstanceService,
org.bonitasoft.engine.core.process.instance.api.ProcessInstanceService processInstanceService,
TechnicalLoggerService logger,
FlowNodeExecutor flowNodeExecutor,
WorkService workService,
ProcessDefinitionService processDefinitionService,
org.bonitasoft.engine.core.process.instance.api.GatewayInstanceService gatewayInstanceService,
org.bonitasoft.engine.resources.ProcessResourcesService processResourcesService,
org.bonitasoft.engine.core.connector.ConnectorService connectorService,
org.bonitasoft.engine.core.connector.ConnectorInstanceService connectorInstanceService,
org.bonitasoft.engine.classloader.ClassLoaderService classLoaderService,
OperationService operationService,
ExpressionResolverService expressionResolverService,
ExpressionService expressionService,
EventService eventService,
Map<String,SProcessInstanceHandler<SEvent>> handlers,
DocumentService documentService,
ContainerRegistry containerRegistry,
BPMInstancesCreator bpmInstancesCreator,
EventsHandler eventsHandler,
FlowNodeStateManager flowNodeStateManager,
BusinessDataRepository businessDataRepository,
org.bonitasoft.engine.core.process.instance.api.RefBusinessDataService refBusinessDataService,
TransitionEvaluator transitionEvaluator,
ContractDataService contractDataService,
BPMWorkFactory workFactory) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SProcessInstanceHandler<T extends SEvent> |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractUpdateHandler.execute(SEvent sEvent) |
protected Map<String,Serializable> |
TaskReadyHandler.getEvent(SEvent sEvent) |
protected Map<String,Serializable> |
ProcessInstanceHandler.getEvent(SEvent sEvent) |
protected Map<String,Serializable> |
ProcessInstanceFinishedHandler.getEvent(SEvent sEvent) |
protected Map<String,Serializable> |
GatewayHandler.getEvent(SEvent sEvent) |
protected Map<String,Serializable> |
FlowNodeReachStateHandler.getEvent(SEvent sEvent) |
protected Map<String,Serializable> |
FlowNodeHandler.getEvent(SEvent sEvent) |
protected abstract Map<String,Serializable> |
AbstractUpdateHandler.getEvent(SEvent sEvent) |
boolean |
TaskReadyHandler.isInterested(SEvent event) |
boolean |
ProcessInstanceHandler.isInterested(SEvent event) |
boolean |
ProcessInstanceFinishedHandler.isInterested(SEvent event) |
boolean |
GatewayHandler.isInterested(SEvent event) |
boolean |
FlowNodeReachStateHandler.isInterested(SEvent event) |
boolean |
FlowNodeHandler.isInterested(SEvent event) |
Copyright © 2018 Bonitasoft S.A.. All rights reserved.