/** * 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; }