Package nexj.core.meta.integration.service

Examples of nexj.core.meta.integration.service.Send


               sync.setOnError(getOnError(element));
               step = sync;
            }
            else if (sElement.equals("Send"))
            {
               Send send = new Send(sStepName);
               send.setActivity(activity);
               String sOutput = XMLUtil.getStringAttr(element, "output");
               send.setOutputExpression(m_helper.parse(sOutput, false, activity.getFlow().getPosMap(), null, m_metadata.getGlobalEnvironment()));
               String sInterface = XMLUtil.getStringAttr(element, "interface");

               if (sInterface != null)
               {
                  send.setInterface(m_metadata.defineInterface(sInterface, send));
               }

               step = send;
            }
            else if (sElement.equals("SendReceive"))
            {
               SendReceive send = new SendReceive(sStepName);

               send.setActivity(activity);

               String sOutput = XMLUtil.getStringAttr(element, "output");

               if (sOutput != null)
               {
                  Object outputExpression = m_helper.parse(sOutput, false, activity.getFlow().getPosMap(), Boolean.TRUE, m_metadata.getGlobalEnvironment());
                  send.setOutputExpression(outputExpression);
               }

               String sInterface = XMLUtil.getStringAttr(element, "interface");

               if (sInterface != null)
               {
                  send.setInterface(m_metadata.defineInterface(sInterface, send));
               }

               step = send;
            }
            else if (sElement.equals("Semaphore"))
View Full Code Here


      }
      else if (step instanceof Send)
      {
         openStepElement(step, "Send");

         Send send = (Send)step;

         exportSExpression(send.getOutputExpression(), false, false, null, "output");

         if (send.getInterface() != null)
         {
            m_writer.writeAttribute("interface", send.getInterface().getName());
         }

         m_writer.closeEmptyElement();
      }
      else if (step instanceof Jump)
View Full Code Here

TOP

Related Classes of nexj.core.meta.integration.service.Send

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.