Examples of BpelScope


Examples of jbprocess.bpel.BpelScope

                if (!replyAnn.name().equals(""))
                  replyName = replyAnn.name();
                reply.setName(replyName);
                if (exceptionTypes.contains(invocation.getArguments().get(0).getType().getDeclaration()))
                  reply.setFaultName(arg.xsdTypeQName);
                BpelScope tmpScope = new BpelScopeImpl();
                setReplyParameters(recv, reply, arg.variable, arg.xsdType, arg.xpathExpr, tmpScope);
                invocationData.activity = tmpScope.getActivity();
                invocationData.replyActivity = reply;
                invocationData.reply = reply;
                if (m.getAnnotation(FlowActivity.class) != null){
                  createMethodFlowMapping(m, invocationData.activity);
                  invocationData.flowActivity = invocationData.activity;
View Full Code Here

Examples of jbprocess.bpel.BpelScope

    org.eclipse.bpel.model.Process process = classProcessMap.get(m.getDeclaringType());
    if (process != null){     
      Stack<BpelScope> scopeStack = classScopeMap.get(m.getDeclaringType());
      methodNodeData.scopeStack = scopeStack;
      methodNodeData.bpelProcess = process;
      BpelScope methodScope = new BpelScopeImpl();
      scopeStack.push(methodScope);
      scan(m.getBody());
      ASTNodeData bodyData = nodeDataStack.peek();
      scopeStack.pop();
      FlowActivity flowActivity = m.getAnnotation(FlowActivity.class);
View Full Code Here

Examples of jbprocess.bpel.BpelScope

        classProcessMap.put(ctClass, process);
        classProcessLinksMap.put(ctClass, new HashSet<PartnerLink>());
        processWsdlDeps.put(process, new HashSet<Definition>());
        processSchemaDeps.put(process, new HashSet<XSDSchema>());
       
        BpelScope processScope = new BpelProcessScopeImpl(classProcessMap.get(ctClass));
        Stack<BpelScope> bpelScopeStack = new Stack<BpelScope>();
        bpelScopeStack.push(processScope);
        classScopeMap.put(ctClass, bpelScopeStack);
        nodeDataStack.peek().scopeStack = bpelScopeStack;
        nodeDataStack.peek().bpelProcess = process;
View Full Code Here

Examples of jbprocess.bpel.BpelScope

    }
  }
  Variable resolveVariable(Stack<BpelScope> scopeStack, String name){
    if (scopeStack != null && scopeStack.size() > 0 && name != null){
      for(int i=scopeStack.size() -1; i >= 0; i--){
        BpelScope scope = scopeStack.get(i);
        Variable variable = scope.getVariable(name);
        if (variable != null)
          return variable;
      }
    }
    return null;
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.