Package jbprocess.annotations

Examples of jbprocess.annotations.ReceiveActivity


      scopeStack.push(methodScope);
      scan(m.getBody());
      ASTNodeData bodyData = nodeDataStack.peek();
      scopeStack.pop();
      FlowActivity flowActivity = m.getAnnotation(FlowActivity.class);
      ReceiveActivity receiveActivity = m.getAnnotation(ReceiveActivity.class);
      ReplyActivity replyActivity = m.getAnnotation(ReplyActivity.class);
      if (flowActivity != null && bodyData.activity != null)
        createMethodFlowMapping(m,bodyData.activity);
      if (receiveActivity != null && bodyData.receive != null){       
        List<PartnerLink> plinks = process.getPartnerLinks().getChildren();
        for (PartnerLink plink : plinks){
          if (plink.getName().equals(receiveActivity.partnerLink())){
            bodyData.receive.setPartnerLink(plink);
            String recvName = m.getSimpleName();
            if (!receiveActivity.name().equals(""))
              recvName = receiveActivity.name();
            bodyData.receive.setName(recvName);
            break;
          }
        }     
        methodReceiveMap.put(m,bodyData.receive);
View Full Code Here

TOP

Related Classes of jbprocess.annotations.ReceiveActivity

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.