/** * @since 2.2 */ public static Endpoint create(Object implementor, WebServiceFeature ... features) { return Provider.provider().createEndpoint(null, implementor, features); } /**
protected Service(java.net.URL wsdlDocumentLocation, QName serviceName) { delegate = Provider.provider().createServiceDelegate(wsdlDocumentLocation, serviceName, this.getClass()); }
public static Endpoint publish(String address, Object implementor) { return Provider.provider().createAndPublishEndpoint(address, implementor); } /**
public W3CEndpointReference build() { return Provider.provider().createW3CEndpointReference(address, serviceName, endpointName, metadataElements, wsdlDocumentLocation, referenceParameters); }
public static EndpointReference readFrom(Source eprInfoset) { return Provider.provider().readEndpointReference(eprInfoset); }
private boolean isCXF() { return Provider.provider().getClass().getName().contains(".cxf"); } public void unregister(Endpoint endpoint, Object service) throws EndpointRegistrationException {
public ServiceDelegate createServiceDelegate(final URL wsdlDocumentLocation, final QName serviceName, final Class serviceClass) { ServiceDelegate serviceDelegate = delegate.createServiceDelegate(wsdlDocumentLocation, serviceName, serviceClass); // the PortRef list is bound to this thread when using @WebServiceRef injection // When using the JAX-WS API we don't need to wrap the ServiceDelegate if (threadPortRefs.get() != null) { serviceDelegate = new ServiceDelegateWrapper(serviceDelegate); } return serviceDelegate; }
@Override public Endpoint createEndpoint(final String bindingId, final Object implementor) { return delegate.createEndpoint(bindingId, implementor); }
@Override public Endpoint createAndPublishEndpoint(final String address, final Object implementor) { return delegate.createAndPublishEndpoint(address, implementor); }
public W3CEndpointReference build() { try { //JAX-WS 2.2 runtime return Provider.provider().createW3CEndpointReference(address, interfaceName, serviceName, endpointName, metadataElements, wsdlDocumentLocation, referenceParameters, elements, attributes); } catch (UnsupportedOperationException ex) { //Probably a JAX-WS 2.1 runtime return Provider.provider().createW3CEndpointReference(address, serviceName, endpointName, metadataElements, wsdlDocumentLocation, referenceParameters); } }
public static EndpointReference readFrom(Source eprInfoset) { return Provider.provider().readEndpointReference(eprInfoset); }
private static synchronized void createInstance() { if (instance != null) { return; } Provider p = Provider.provider(); if (p.getClass().getName().contains("apache.cxf")) { instance = new CXFWSNHelper(); } else { instance = new WSNHelper(); } }
public ServiceDelegate createServiceDelegate(final URL wsdlDocumentLocation, final QName serviceName, final Class serviceClass) { ServiceDelegate serviceDelegate = delegate.createServiceDelegate(wsdlDocumentLocation, serviceName, serviceClass); // the PortRef list is bound to this thread when using @WebServiceRef injection // When using the JAX-WS API we don't need to wrap the ServiceDelegate if (threadPortRefs.get() != null) { serviceDelegate = new ServiceDelegateWrapper(serviceDelegate); } return serviceDelegate; }
public Endpoint createEndpoint(final String bindingId, final Object implementor) { return delegate.createEndpoint(bindingId, implementor); }
public Endpoint createAndPublishEndpoint(final String address, final Object implementor) { return delegate.createAndPublishEndpoint(address, implementor); }
/** * @since 2.2 */ public static Endpoint create(String bindingId, Object implementor, WebServiceFeature ... features) { return Provider.provider().createEndpoint(bindingId, implementor, features); }
protected Service(java.net.URL wsdlDocumentLocation, QName serviceName, WebServiceFeature ... features) { delegate = Provider.provider().createServiceDelegate(wsdlDocumentLocation, serviceName, this.getClass(), features); }
public abstract void publish(String s);