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. droolsjbpm-knowledge master: https://github.com/droolsjbpm/droolsjbpm-knowledge/commit/64f9f8dd9cb27304f54b5442f95cb5ad640fcd67 jbpm master: https://github.com/droolsjbpm/jbpm/commit/bc75b706f8d0aa3e9565cd2b2df33f1ad69dbc24
backported to 6.0.x branch droolsjbpm-knowledge 6.0.x: https://github.com/droolsjbpm/droolsjbpm-knowledge/commit/706010139729f57982d7d64c18b4556a06b36680 jbpm: 6.0.x: https://github.com/droolsjbpm/jbpm/commit/ad0aac654a4a16dd7d3f288f5e87039fd82a02ec
Verified in BPMS 6.0.1.ER1.