Package org.ogce.gfac.context

Examples of org.ogce.gfac.context.InvocationContext.addMessageContext()


      //parameter
      ParameterContextImpl x = new ParameterContextImpl();
      StringParameter parameter = new StringParameter();
      parameter.fromString("Hello");
      x.addParameter("echo", parameter.getTypeName(), parameter);
      ct.addMessageContext("input", x);
     
      PropertiesBasedServiceImpl service = new PropertiesBasedServiceImpl();
      service.init();
      service.execute(ct);
     
View Full Code Here


        String type = element.getAttribute(new QName("type")).getAttributeValue();
        String value = element.getText();
       
        ParameterContextImpl x = new ParameterContextImpl();
        x.addParameter(name, type, value)
        ct.addMessageContext("input", x)
      }

      if (service == null) {
        service = new PropertyServiceFactory().createService();
      }
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.