Package nexj.core.meta.integration.service

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


               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 SendReceive)
      {
         openStepElement(step, "SendReceive");

         SendReceive send = (SendReceive)step;

         exportSExpression(send.getOutputExpression(), false, false, Boolean.TRUE, "output");

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

         m_writer.closeEmptyElement();
      }
      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.SendReceive

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.