public ExecutionServiceImpl(Framework framework) {
this.framework = framework;
}
protected WorkflowExecutionListener getWorkflowListener(final ExecutionContext executionContext) {
WorkflowExecutionListener wlistener = null;
final ExecutionListener elistener = executionContext.getExecutionListener();
if (null != elistener && elistener instanceof WorkflowExecutionListener) {
wlistener = (WorkflowExecutionListener) elistener;
}
return wlistener;