Examples of addOperation()


Examples of org.apache.cxf.service.model.BindingInfo.addOperation()

                                                                        bop.getName()), inName, outName);
                if (bop2 != null) {

                    copyExtensors(bop2, bop.getExtensibilityElements());
                    copyExtensionAttributes(bop2, bop);
                    bi.addOperation(bop2);
                    if (bop.getBindingInput() != null) {
                        copyExtensors(bop2.getInput(), bop.getBindingInput().getExtensibilityElements());
                        copyExtensionAttributes(bop2.getInput(), bop.getBindingInput());
                        handleHeader(bop2.getInput());
                    }
View Full Code Here

Examples of org.apache.cxf.service.model.BindingInfo.addOperation()

                                                       bop.getName()));
                } else {
                    bop2 = bi.buildOperation(new QName(binding.getQName().getNamespaceURI(),
                                                       bop.getName()), inName, outName);
                    if (bop2 != null) {
                        bi.addOperation(bop2);
                    }
                }
                if (bop2 != null) {

                    copyExtensors(bop2, bop.getExtensibilityElements());
View Full Code Here

Examples of org.apache.cxf.service.model.InterfaceInfo.addOperation()

   
    private void setUpMethod(Message message, Exchange exchange, Method method) {
        setUpMessageExchange(message, exchange);
        ServiceInfo si = new ServiceInfo();
        InterfaceInfo iinf = new InterfaceInfo(si, new QName("http://foo/bar", "SEI"));
        OperationInfo opInfo = iinf.addOperation(new QName("http://foo/bar", method.getName()));
        opInfo.setProperty(Method.class.getName(), method);
        opInfo.setInput("opRequest",
                        opInfo.createMessage(new QName("http://foo/bar", "opRequest"), Type.INPUT));
        opInfo.setOutput("opResponse",
                         opInfo.createMessage(new QName("http://foo/bar", "opResponse"), Type.INPUT));
View Full Code Here

Examples of org.apache.geronimo.gbean.GBeanInfoBuilder.addOperation()

    }

    public GBeanInfo getGbeanInfo() {
        GBeanInfoBuilder infoFactory = GBeanInfoBuilder.createStatic(ContextBuilderTest.class, TestProxyFactory.class);
        infoFactory.addAttribute("Content", Object.class, true);
        infoFactory.addOperation("getProxy");
        infoFactory.setConstructor(new String[]{"Content"});
        return infoFactory.getBeanInfo();
    }
}
View Full Code Here

Examples of org.apache.geronimo.gbean.GBeanInfoFactory.addOperation()

    }

    public GBeanInfo getGbeanInfo() {
        GBeanInfoFactory infoFactory = new GBeanInfoFactory(TestProxyFactory.class);
        infoFactory.addAttribute("Content", true);
        infoFactory.addOperation("getProxy");
        infoFactory.setConstructor(new String[] {"Content"}, new Class[] {Object.class});
        return infoFactory.getBeanInfo();
    }
}
View Full Code Here

Examples of org.apache.muse.tools.generator.util.Capability.addOperation()

      String actionURI = (String) _internalActionMap.get(method.getName());
      if(actionURI != null) {
        method.setActionURI(actionURI);
      }
     
      capability.addOperation(method);
    }
  }

  /**
   * Check the descriptor to see if there are already mappings defined from Capability URIs to
View Full Code Here

Examples of org.apache.qpid.management.ui.model.OperationDataModel.addOperation()

            MBeanOperationInfo[] operationsInfo = serverRegistry.getMBeanInfo(mbean).getOperations();
            dataModel = new OperationDataModel();
           
            for (int i = 0; i < operationsInfo.length; i++)
            {
                dataModel.addOperation(operationsInfo[i]);
            }
           
            serverRegistry.setOperationModel(mbean, dataModel);
        }
        return dataModel;
View Full Code Here

Examples of org.apache.servicemix.jbi.management.OperationInfoHelper.addOperation()

     * @return array of OperationInfos
     * @throws JMException
     */
    public MBeanOperationInfo[] getOperationInfos() throws JMException {
        OperationInfoHelper helper = new OperationInfoHelper();
        helper.addOperation(getObjectToManage(), "suspend", "suspend the NMR processing");
        helper.addOperation(getObjectToManage(), "resume", "resume the NMR processing");

        return OperationInfoHelper.join(super.getOperationInfos(), helper.getOperationInfos());
    }

View Full Code Here

Examples of org.apache.servicemix.soap.bindings.http.impl.Wsdl2HttpBindingImpl.addOperation()

            InterfaceFaultReference[] faults = wsdlOperation.getInterfaceFaultReferences();
            for (int j = 0; j < faults.length; j++) {
                // TODO: handle interface faults references
            }
            // Add the operation
            binding.addOperation(operation);
        }
        // Faults
        InterfaceFault[] faults = wsdlInterface.getInterfaceFaults();
        for (int i = 0; i < faults.length; i++) {
            // TODO: handle interface faults
View Full Code Here

Examples of org.apache.servicemix.soap.bindings.soap.impl.Wsdl1SoapBindingImpl.addOperation()

            for (Iterator itFault = faults.iterator(); itFault.hasNext();) {
                Fault fault = (Fault) itFault.next();
                createFault(operation, wsdlBindingOperation.getBindingFaults().get(fault.getName()));
            }
            // Add operation
            binding.addOperation(operation);
        }
       
        return binding;
    }
   
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.