|
jBPM :: RuntimeManager 6.0.0.CR3 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
RuntimeManager
implementation should inherit from.KieSessionConfiguration
RuntimeEngine
instances
EventListenerProducer
TaskService
that was injected into it.KieSession
it provides as well two queries to fetch required information.RegisterableItemsFactory
responsible for providing
common set of WorkItemHandlers and EventListeners.KieSession
instance
in beforeCompletion call to be executed as part of current transaction.KieSession
instance on transaction completion during
afterCompletion phase.JTATransactionManger
is provided
to make sure transaction synchronizations are registered as regular ones
instead of interposed that will cause issues with other transaction synchronizations
mainly one registered by SingleSessionCommandService to clean up on transaction end.BeanManager
.
BeanManager
.
SchedulerService
ready to be used/
RegisterableItemsFactory
dedicated to CDI environments that allows to get
injections of following components:
ExternalTaskEventListener
- required bean
WorkItemHandlerProducer
- optional bean (0 or more)
EventListenerProducer>
- optional bean (0 or more)
EventListenerProducer>
- optional bean (0 or more)
EventListenerProducer>
- optional bean (0 or more)
RuntimeFinder
- optional required only when single CDI bean is going to manage many
RuntimeManager
instances
In addition to that, AbstractAuditLogger
can be set after bean has been injected if the default
is not sufficient.KieSession
identifier mapping.KieSession
id mapping.KieSession
data.TaskServiceFactory
implementation that shall be used for non CDI environments.getRuntimeEngine
new instance will be delivered with brand new KieSession and TaskService.EventListenerProducer
RuntimeEngine
that additionally implement Disposable
interface to allow other components to register listeners on it.RuntimeEnvironments
.RuntimeManager
instances based on given RuntimeEnvironment
.RuntimeManager
automatically by CDI container.SchedulerService
especially important for RuntimeEnvironment implementations that not all must provide such capabilities.RegisterableItemsFactory
implementation that allows to define listeners and work
item handlers by their class and whenever they will be required new instance will be created out of the given
Class
instance.RuntimeEnvironment
that at the same time serves as base
implementation for all extensions.RuntimeEngine
instance will
exist for for given RuntimeManager instance.RuntimeEngine
implementation strictly dedicated to
SingletonRuntimeManager
to ensure that access to RuntimeEngine
resources, such as KieSession
and TaskService
is synchronized.TaskService
implementation used by SingletonRuntimeManager
.EventListenerProducer
|
jBPM :: RuntimeManager 6.0.0.CR3 | |||||||||
PREV NEXT | FRAMES NO FRAMES |