Package com.catify.processengine.core.messages

Examples of com.catify.processengine.core.messages.DeactivationMessage


    List<Future<Object>> listOfFutureActorRefs = new ArrayList<Future<Object>>();
   
    for (ActorRef actor : actorReferences) {
      try {
        // make an asynchronous request ('Patterns.ask') to the event definition actor
        listOfFutureActorRefs.add(Patterns.ask(actor, new DeactivationMessage(processInstanceId), deactivationTimeout));
      } catch (Exception e) {
        e.printStackTrace();
      }
    }
   
View Full Code Here


   
    List<ActorRef> loosingNodes = this.getCopyOfOutgoingNodes();
    loosingNodes.remove(this.getSender());
   
    this.sendMessageToNodeActors(
    new DeactivationMessage(message.getProcessInstanceId()),loosingNodes);
  }
View Full Code Here

    Set<String> loosingUniqueFlowNodeIds =
        processInstanceMediatorService.getPreviousLoosingNodeIds(getUniqueProcessId(), getUniqueFlowNodeId(), message.getProcessInstanceId());
   
    for (String loosingUniqueFlowNodeId : loosingUniqueFlowNodeIds) {
      this.sendMessageToNodeActor(
          new DeactivationMessage(message.getProcessInstanceId()),
          new ActorReferenceService().getActorReference(loosingUniqueFlowNodeId));
    }
  }
View Full Code Here

TOP

Related Classes of com.catify.processengine.core.messages.DeactivationMessage

Copyright © 2018 www.massapicom. 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.