log.debug("end testJbpmCloseSession");
}
public void testJbpmHandler() throws Exception {
Action action = processDefinition.getAction("myAction");
ActionHandler delegate = (ActionHandler) action.getActionDelegation().getInstance();
// create the context and pass it on to the action
ProcessInstance instance = processDefinition.createProcessInstance();
// we have to use transient variables or otherwise HB will get in the way
instance.getContextInstance().setTransientVariable(DummyActionHandler.TEST_LABEL,
applicationContext.getBean("jbpmAction"));
Token token = instance.getRootToken();
delegate.execute(new ExecutionContext(token));
}