public boolean isAsync(ExecutionImpl execution) {
return execution.getActivity().isAsync();
}
public void perform(ExecutionImpl execution) {
ActivityImpl activity = execution.getActivity();
if (log.isDebugEnabled()) {
if (execution.getName()!=null) {
log.debug(execution.toString()+" executes "+activity);
} else {
log.debug("executing "+activity);
}
}
ActivityBehaviour activityBehaviour = activity.getBehaviour();
try {
execution.setPropagation(Propagation.UNSPECIFIED);
execution.setHistoryActivityStart(Clock.getCurrentTime());