Description of problem:
We need to be able to register TaskLifeCycleEventListeners in all TaskServices generated by the RuntimeManager as we cannot use CDI.
We'd like the RegisterableItemsFactory to have this capability included. It is not currently possible to register TaskLifeCycleEventListeners, otherwise.
fixed on master, that allows to register TaskLifeCycleEventListener via RegisterableItemsFactory. Moreover globals are now possible to be registered as well that way so rules that will be executed from within processes might refer to globals.
This feature required to extend existing interfaces (RegisterableItemsFactory) and creation of new ones in kie-api so they can be exposed to the users.
In addition, to cover complete scenario of configuring TaskService, runtime manager allows to pass the actual implementation of the TaskServiceFactory in case ones available out of the box won't be enough.
backported to 6.0.x branch
Verified in BPMS 6.0.1.ER1.