Package org.jbpm.api.activity

Examples of org.jbpm.api.activity.ExternalActivityBehaviour.signal()


    ExternalActivityBehaviour externalActivityBehaviour = (ExternalActivityBehaviour) activity.getBehaviour();
   
    try {
      execution.setPropagation(Propagation.UNSPECIFIED);
      externalActivityBehaviour.signal(execution, signalName, parameters);

    } catch (RuntimeException e) {
      throw e;
     
    } catch (Exception e) {
View Full Code Here


  protected ActivityBehaviour customBehaviour;

  public void signal(ActivityExecution execution, String signalName, Map<String, ? > parameters) throws Exception {
    ExternalActivityBehaviour externalActivityBehaviour = (ExternalActivityBehaviour)customBehaviour;
    externalActivityBehaviour.signal(execution, signalName, parameters);
  }

  public void execute(ActivityExecution execution) throws Exception {
    customBehaviour.execute(execution);
  }
View Full Code Here

    ExternalActivityBehaviour externalActivityBehaviour = (ExternalActivityBehaviour) activity.getActivityBehaviour();
   
    try {
      execution.setPropagation(Propagation.UNSPECIFIED);
      externalActivityBehaviour.signal(execution, signalName, parameters);

    } catch (RuntimeException e) {
      throw e;
     
    } catch (Exception e) {
View Full Code Here

    activityBehaviour.execute(execution);
  }

  public void signal(ActivityExecution execution, String signalName, Map<String, ? > parameters) throws Exception {
    ExternalActivityBehaviour externalActivityBehaviour = (ExternalActivityBehaviour) customActivityReference.getObject(execution);
    externalActivityBehaviour.signal(execution, signalName, parameters);
  }

  public void setCustomActivityReference(UserCodeReference customActivityReference) {
    this.customActivityReference = customActivityReference;
  }
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.