/** * Creates a "default" BindingInfo object for the service. Called by * createBindingInfo(Service service, String binding, Object config) to actually * create the BindingInfo. Can return a subclass which can then process * the extensors within the subclass. */ public BindingInfo createBindingInfo(ServiceInfo service, String namespace, Object config) { return new BindingInfo(service, namespace); }
/** * Creates a "default" BindingInfo object for the service. Called by * createBindingInfo(Service service, String binding, Object config) to actually * create the BindingInfo. Can return a subclass which can then process * the extensors within the subclass. */ public BindingInfo createBindingInfo(ServiceInfo service, String namespace, Object config) { return new BindingInfo(service, namespace); }
/** * Creates a "default" BindingInfo object for the service. Called by * createBindingInfo(Service service, String binding, Object config) to actually * create the BindingInfo. Can return a subclass which can then process * the extensors within the subclass. */ public BindingInfo createBindingInfo(ServiceInfo service, String namespace, Object config) { return new BindingInfo(service, namespace); }
/** * Creates a "default" BindingInfo object for the service. Called by * createBindingInfo(Service service, String binding, Object config) to actually * create the BindingInfo. Can return a subclass which can then process * the extensors within the subclass. */ public BindingInfo createBindingInfo(ServiceInfo service, String namespace, Object config) { return new BindingInfo(service, namespace); }
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; }
public BindingInfo createBindingInfo(Service service, String namespace, Object obj) { ServiceInfo si = new ServiceInfo(); si.setTargetNamespace(ProtobufBindingFactory.PROTOBUF_BINDING_ID); BindingInfo info = new BindingInfo(si, ProtobufBindingFactory.PROTOBUF_BINDING_ID); 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(),
onlyExtensors = true; } else { bi = new BindingInfo(service, ns.toString());
bi = new BindingInfo(service, ns.toString()); bi.setName(binding.getQName()); copyExtensors(bi, binding.getExtensibilityElements());
bi = new BindingInfo(service, ns.toString()); bi.setName(binding.getQName()); copyExtensors(bi, binding.getExtensibilityElements());