I extended SequenceFlowParseHandler for setting executionListener to sequence flow. By doing so I am able to execute my custom listener everytime a transition happens in the workflow.
ActivitiListener activitiListener = new ActivitiListener();
activitiListener.setEvent(ExecutionListener.EVENTNAME_START);
activitiListener.setImplementation("${customExecutionListener}");
activitiListener.setImplementationType(ImplementationType.IMPLEMENTATION_TYPE_DELEGATEEXPRESSION);
I am using delegate Expression for implementation type but class fails to autowire beans in my customExecutionListener I dont know where i'm going wrong.