public BindingInfo createBindingInfo(Service service, String namespace, Object obj) { BindingInfo info = new BindingInfo(null, JAXRSBindingFactory.JAXRS_BINDING_ID); info.setName(new QName(JAXRSBindingFactory.JAXRS_BINDING_ID, "binding")); return info; }
public BindingInfo createBindingInfo(Service service, String namespace, Object obj) { BindingInfo info = new BindingInfo(null, JAXRSBindingFactory.JAXRS_BINDING_ID); info.setName(new QName(JAXRSBindingFactory.JAXRS_BINDING_ID, "binding")); return info; }
/** * Creates a "default" BindingInfo object for the service. Can return a subclass * which can then process the extensors within the subclass. By default, just * creates it for the first ServiceInfo in the service */ public BindingInfo createBindingInfo(Service service, String namespace, Object config) { BindingInfo bi = createBindingInfo(service.getServiceInfos().get(0), namespace, config); if (bi.getName() == null) { bi.setName(new QName(service.getName().getNamespaceURI(), service.getName().getLocalPart() + "Binding")); } return bi; }
/** * Creates a "default" BindingInfo object for the service. Can return a subclass * which can then process the extensors within the subclass. By default, just * creates it for the first ServiceInfo in the service */ public BindingInfo createBindingInfo(Service service, String namespace, Object config) { BindingInfo bi = createBindingInfo(service.getServiceInfos().get(0), namespace, config); if (bi.getName() == null) { bi.setName(new QName(service.getName().getNamespaceURI(), service.getName().getLocalPart() + "Binding")); } return bi; }
/** * Creates a "default" BindingInfo object for the service. Can return a subclass * which can then process the extensors within the subclass. By default, just * creates it for the first ServiceInfo in the service */ public BindingInfo createBindingInfo(Service service, String namespace, Object config) { BindingInfo bi = createBindingInfo(service.getServiceInfos().get(0), namespace, config); if (bi.getName() == null) { bi.setName(new QName(service.getName().getNamespaceURI(), service.getName().getLocalPart() + "Binding")); } return bi; }
/** * Creates a "default" BindingInfo object for the service. Can return a subclass * which can then process the extensors within the subclass. By default, just * creates it for the first ServiceInfo in the service */ public BindingInfo createBindingInfo(Service service, String namespace, Object config) { BindingInfo bi = createBindingInfo(service.getServiceInfos().get(0), namespace, config); if (bi.getName() == null) { bi.setName(new QName(service.getName().getNamespaceURI(), service.getName().getLocalPart() + "Binding")); } return bi; }
public BindingInfo createBindingInfo(ServiceInfo si, String bindingid, Object config) { BindingInfo info = super.createBindingInfo(si, bindingid, config); if (config instanceof ObjectBindingConfiguration) { ObjectBindingConfiguration c = (ObjectBindingConfiguration) config; info.setProperty(RUN_NON_LOGICAL, c.isNonLogicalPhasesEnabled()); } info.setName(new QName(si.getName().getNamespaceURI(), si.getName().getLocalPart() + "ObjectBinding")); for (OperationInfo o : si.getInterface().getOperations()) { BindingOperationInfo bop = info.buildOperation(o.getName(), o.getInputName(), o.getOutputName()); info.addOperation(bop); } return info; }
public BindingInfo createBindingInfo(ServiceInfo service, String namespace, Object config) { BindingInfo info = new BindingInfo(service, "http://cxf.apache.org/bindings/xformat"); info.setName(new QName(service.getName().getNamespaceURI(), service.getName().getLocalPart() + "XMLBinding")); for (OperationInfo op : service.getInterface().getOperations()) { adjustConcreteNames(op.getInput()); adjustConcreteNames(op.getOutput()); BindingOperationInfo bop = info.buildOperation(op.getName(), op.getInputName(), op.getOutputName()); info.addOperation(bop); } return info; }
public BindingInfo createBindingInfo(ServiceInfo service, String namespace, Object config) { BindingInfo info = new BindingInfo(service, "http://cxf.apache.org/bindings/xformat"); info.setName(new QName(service.getName().getNamespaceURI(), service.getName().getLocalPart() + "XMLBinding")); for (OperationInfo op : service.getInterface().getOperations()) { adjustConcreteNames(op.getInput()); adjustConcreteNames(op.getOutput()); BindingOperationInfo bop = info.buildOperation(op.getName(), op.getInputName(), op.getOutputName()); info.addOperation(bop); } return info; }
BindingInfo info = new BindingInfo(si, HttpBindingFactory.HTTP_BINDING_ID); info.setName(new QName(si.getName().getNamespaceURI(), si.getName().getLocalPart() + "HttpBinding"));
bi = new BindingInfo(service, ns.toString()); bi.setName(binding.getQName()); copyExtensors(bi, binding.getExtensibilityElements()); copyExtensionAttributes(bi, binding);
protected BindingInfo initializeBindingInfo(ServiceInfo service, Binding binding, BindingInfo bi) { bi.setName(binding.getQName()); copyExtensors(bi, binding, null);
protected BindingInfo initializeBindingInfo(ServiceInfo service, Binding binding, BindingInfo bi) { bi.setName(binding.getQName()); copyExtensors(bi, binding, null);
protected BindingInfo initializeBindingInfo(ServiceInfo service, Binding binding, BindingInfo bi) { bi.setName(binding.getQName()); copyExtensors(bi, binding, null);
bi.setName(binding.getQName()); copyExtensors(bi, binding.getExtensibilityElements()); copyExtensionAttributes(bi, binding);
bi.setName(binding.getQName()); copyExtensors(bi, binding.getExtensibilityElements()); copyExtensionAttributes(bi, binding);