public interface RegisterableItemsFactory
RuntimeManager
to configure RuntimeEngine
(especially KieSession) with various registerable items:
RuntimeEngine
.
If there are any needs to be bound handlers or listeners to eny parts of runtime engine these can be obtained:
RuntimeEngine
instance instead to allow most flexible behavior.Modifier and Type | Method and Description |
---|---|
List<AgendaEventListener> |
getAgendaEventListeners(RuntimeEngine runtime)
Returns new instances of
AgendaEventListener that will be registered on RuntimeEngine |
Map<String,Object> |
getGlobals(RuntimeEngine runtime)
Returns globals that shall be registered on
KieSession . |
List<ProcessEventListener> |
getProcessEventListeners(RuntimeEngine runtime)
Returns new instances of
ProcessEventListener that will be registered on RuntimeEngine |
List<RuleRuntimeEventListener> |
getRuleRuntimeEventListeners(RuntimeEngine runtime)
Returns new instances of
RuleRuntimeEventListener that will be registered on RuntimeEngine |
List<TaskLifeCycleEventListener> |
getTaskListeners() |
Map<String,WorkItemHandler> |
getWorkItemHandlers(RuntimeEngine runtime)
Returns new instances of
WorkItemHandler that will be registered on RuntimeEngine |
Map<String,WorkItemHandler> getWorkItemHandlers(RuntimeEngine runtime)
WorkItemHandler
that will be registered on RuntimeEngine
runtime
- provides RuntimeEngine
in case handler need to make use of it internallyList<ProcessEventListener> getProcessEventListeners(RuntimeEngine runtime)
ProcessEventListener
that will be registered on RuntimeEngine
runtime
- provides RuntimeEngine
in case listeners need to make use of it internallyList<AgendaEventListener> getAgendaEventListeners(RuntimeEngine runtime)
AgendaEventListener
that will be registered on RuntimeEngine
runtime
- provides RuntimeEngine
in case listeners need to make use of it internallyList<RuleRuntimeEventListener> getRuleRuntimeEventListeners(RuntimeEngine runtime)
RuleRuntimeEventListener
that will be registered on RuntimeEngine
runtime
- provides RuntimeEngine
in case listeners need to make use of it internallyMap<String,Object> getGlobals(RuntimeEngine runtime)
KieSession
.runtime
- provides RuntimeEngine
in case globals need to make use of it internallyList<TaskLifeCycleEventListener> getTaskListeners()
TaskLifeCycleEventListener
that will be registered on RuntimeEngine
.Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.