Package org.openbp.server.context

Examples of org.openbp.server.context.CallStackItem


    List elements = new ArrayList();

    // Iterate the call stack and create the list of stack info objects
    for (Iterator it = callStack.iterator(); it.hasNext();)
    {
      CallStackItem stackItem = (CallStackItem) it.next();

      CallStackInfo stackInfo = new CallStackInfo();

      stackInfo.setType(stackItem.getType());

      // TODO Fix 5 No difference between current pos. and saved pos. of call stack info
      NodeSocket nodeSocket = stackItem.getNodeSocket();
      stackInfo.setCurrentPosition(nodeSocket.getQualifier());
      stackInfo.setSavedPosition(nodeSocket.getQualifier());

      elements.add(stackInfo);
    }
View Full Code Here


    // Check whether a return is possible.
    if (context.getCallStack().getCallDepth() != 0)
    {
      // Pop the reference to the calling sub proces node from the call stack
      CallStackItem stackItem = context.getCallStack().pop();

      // Get the payload socket of the call stack item
      NodeSocket callStackSocket = stackItem.getNodeSocket();
      if (callStackSocket != null)
      {
        // Regular call stack item (sub process).
        // Determine the exit socket of the sub process node we shall continue with
        // using the name of the final node of the sub process.
View Full Code Here

TOP

Related Classes of org.openbp.server.context.CallStackItem

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.