Package org.jbpm.pvm.internal.model

Examples of org.jbpm.pvm.internal.model.ExecutionImpl.fire()


      ExecutionImpl propagatingExecution = execution;
      if (activity.isLocalScope()) {
        propagatingExecution = execution.createScope(activity);
      }

      propagatingExecution.fire(Event.START, activity, AtomicOperation.TRANSITION_START_ACTIVITY);
    }
  }
 
  public MessageImpl<?> createAsyncMessage(ExecutionImpl execution) {
    throw new UnsupportedOperationException("please implement me");
View Full Code Here


    ActivityImpl destination = execution.getTransition().getDestination();
    if ( (parentActivity!=null)
         && (!parentActivity.contains(destination))
       ) {
      propagatingExecution.setActivity(parentActivity);
      propagatingExecution.fire(Event.END, parentActivity, AtomicOperation.TRANSITION_END_ACTIVITY);
    } else {
      propagatingExecution.performAtomicOperation(AtomicOperation.TRANSITION_TAKE);
    }
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.