My requirement is to execute some java code on entry of every user task. Referring to the user guide, I was able to achieve this using the On Entry Action(bpmn).
Since the same piece of code has to be executed on entry of every user task, I do not want to configure it on all user tasks. Is there any interface which jbpm provides where I can specify the On Entry Action programmatically rather than specifying on each user task in the bpmn.