Package org.openbp.server.context

Examples of org.openbp.server.context.CallStack


  static void removeSocketData(NodeSocket socket, TokenContext context)
  {
    if (socket == null)
      return;

    CallStack callStack = context.getCallStack();
    if (callStack.containsSocketReference(socket))
      // This socket is still in the call stack, so we shouldn't remove its data
      return;

    // Iterate all parameters of the entry socket
    for (Iterator it = socket.getParams(); it.hasNext();)
View Full Code Here


    // Save variable values before we perform the rollback
    NodeSocket memCurrentSocket = memContext.getCurrentSocket();
    int memPriority = memContext.getPriority();
    String memQueueType = memContext.getQueueType();
    CallStack memCallStack = null;
    ProgressInfo memProgressInfo = null;
    Map memProcessVariables = null;
    try
    {
      if (rollbackPositionBehavior == RollbackPositionBehavior.MAINTAIN_POSITION)
View Full Code Here

  public List getCallStackElements(String clientId)
  {
    DebuggerClient client = determineClient(clientId);

    ContextInspector inspector = client.getInspector();
    CallStack callStack = inspector.getContext().getCallStack();

    if (callStack.getCallDepth() == 0)
      // Empty call stack
      return null;

    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();
View Full Code Here

    // Save variable values before we perform the rollback
    NodeSocket memCurrentSocket = memContext.getCurrentSocket();
    int memPriority = memContext.getPriority();
    String memQueueType = memContext.getQueueType();
    CallStack memCallStack = null;
    ProgressInfo memProgressInfo = null;
    Map memProcessVariables = null;
    try
    {
      if (rollbackPositionBehavior == RollbackPositionBehavior.MAINTAIN_POSITION)
View Full Code Here

TOP

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

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.