1 5 6 package javax.xml.ws.spi; 7 8 import java.util.Iterator ; 9 import javax.xml.namespace.QName ; 10 import javax.xml.ws.Dispatch; 11 import javax.xml.ws.Service; 12 import javax.xml.ws.handler.HandlerResolver; 13 import javax.xml.ws.WebServiceFeature; 14 import javax.xml.bind.JAXBContext; 15 import javax.xml.ws.EndpointReference; 16 import javax.xml.ws.WebServiceException; 17 18 19 32 public abstract class ServiceDelegate { 33 34 protected ServiceDelegate() { 35 } 36 37 65 public abstract <T> T getPort(QName portName, 66 Class <T> serviceEndpointInterface); 67 68 104 public abstract <T> T getPort(QName portName, 105 Class <T> serviceEndpointInterface, WebServiceFeature... features); 106 107 179 public abstract <T> T getPort(EndpointReference endpointReference, 180 Class <T> serviceEndpointInterface, WebServiceFeature... features); 181 182 183 206 public abstract <T> T getPort(Class <T> serviceEndpointInterface); 207 208 209 241 public abstract <T> T getPort(Class <T> serviceEndpointInterface, 242 WebServiceFeature... features); 243 244 245 260 public abstract void addPort(QName portName, String bindingId, 261 String endpointAddress); 262 263 264 265 286 public abstract <T> Dispatch<T> createDispatch(QName portName, Class <T> type, 287 Service.Mode mode); 288 289 319 public abstract <T> Dispatch<T> createDispatch(QName portName, Class <T> type, 320 Service.Mode mode, WebServiceFeature... features); 321 322 391 public abstract <T> Dispatch<T> createDispatch(EndpointReference endpointReference, 392 Class <T> type, Service.Mode mode, 393 WebServiceFeature... features); 394 395 396 397 416 public abstract Dispatch<Object > createDispatch(QName portName, 417 JAXBContext context, Service.Mode mode); 418 419 420 447 public abstract Dispatch<Object > createDispatch(QName portName, 448 JAXBContext context, Service.Mode mode, WebServiceFeature... features); 449 450 517 public abstract Dispatch<Object > createDispatch(EndpointReference endpointReference, 518 JAXBContext context, Service.Mode mode, 519 WebServiceFeature... features); 520 521 522 526 public abstract QName getServiceName(); 527 528 538 public abstract Iterator <javax.xml.namespace.QName > getPorts(); 539 540 546 public abstract java.net.URL getWSDLDocumentLocation(); 547 548 555 public abstract HandlerResolver getHandlerResolver(); 556 557 570 public abstract void setHandlerResolver(HandlerResolver handlerResolver); 571 572 583 public abstract java.util.concurrent.Executor getExecutor(); 584 585 600 public abstract void setExecutor(java.util.concurrent.Executor executor); 601 602 } 603 | Popular Tags |