CDI producer for
TaskService
instances. By default it runs in new mode,
meaning new
TaskService
instance for every injection point.
This behavior can be altered by setting
org.jbpm.cdi.taskservice.mode
system
property to one of the values.
- none - disables producer to not return TaskService instances
- singleton - produces only one instance of TaskService that will be shared
- new - produces new instance for every injection point
This bean accept following injections:
- UserGroupCallback
- UserInfo
- TaskLifeCycleEventListener
all of these are optional injections and if not available defaults will be used. Underneath it uses
HumanTaskConfigurator
for
TaskService
instances creations.