@Override
public void execute(ActivityElement activityXml, ActivityInst activityInst) {
IActivityTriggerEvent activityTriggerEvent =
(IActivityTriggerEvent)ApplicationContextHolder.getBean(eventXml.getAction());
activityTriggerEvent.beforeStart(activityInst.getProcessInstId(), activityXml.getId());
}
});
}
}
}