本文整理了Java中javax.xml.ws.spi.Provider
类的一些代码示例,展示了Provider
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Provider
类的具体详情如下:
包路径:javax.xml.ws.spi.Provider
类名称:Provider
[英]Service provider for ServiceDelegate and Endpoint objects.
[中]ServiceDelegate和Endpoint对象的服务提供程序。
代码示例来源:origin: org.apache.openejb/javaee-api
/**
* @since 2.2
*/
public static Endpoint create(Object implementor, WebServiceFeature ... features) {
return Provider.provider().createEndpoint(null, implementor, features);
}
/**
代码示例来源:origin: org.jboss.spec.javax.xml.ws/jboss-jaxws-api_2.2_spec
protected Service(java.net.URL wsdlDocumentLocation, QName serviceName) {
delegate = Provider.provider().createServiceDelegate(wsdlDocumentLocation,
serviceName,
this.getClass());
}
代码示例来源:origin: org.apache.openejb/javaee-api
public static Endpoint publish(String address, Object implementor) {
return Provider.provider().createAndPublishEndpoint(address, implementor);
}
/**
代码示例来源:origin: org.apache.axis2/axis2-jaxws-api
public W3CEndpointReference build() {
return Provider.provider().createW3CEndpointReference(address,
serviceName,
endpointName,
metadataElements,
wsdlDocumentLocation,
referenceParameters);
}
代码示例来源:origin: org.apache.openejb/javaee-api
public static EndpointReference readFrom(Source eprInfoset) {
return Provider.provider().readEndpointReference(eprInfoset);
}
代码示例来源:origin: org.apache.openejb/javaee-api
public <T> T getPort(Class<T> serviceEndpointInterface, WebServiceFeature... features) {
return Provider.provider().getPort(this, serviceEndpointInterface, features);
}
代码示例来源:origin: apache/cxf
private boolean isCXF() {
return Provider.provider().getClass().getName().contains(".cxf");
}
public void unregister(Endpoint endpoint, Object service) throws EndpointRegistrationException {
代码示例来源:origin: org.apache.openejb/openejb-core
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;
}
代码示例来源:origin: org.apache.openejb/openejb-client
@Override
public Endpoint createEndpoint(final String bindingId, final Object implementor) {
return delegate.createEndpoint(bindingId, implementor);
}
代码示例来源:origin: org.apache.openejb/openejb-client
@Override
public Endpoint createAndPublishEndpoint(final String address, final Object implementor) {
return delegate.createAndPublishEndpoint(address, implementor);
}
代码示例来源:origin: org.apache.openejb/javaee-api
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);
}
}
代码示例来源:origin: org.apache.axis2/axis2-jaxws-api
public static EndpointReference readFrom(Source eprInfoset) {
return Provider.provider().readEndpointReference(eprInfoset);
}
代码示例来源:origin: org.apache.axis2/axis2-jaxws-api
public <T> T getPort(Class<T> serviceEndpointInterface, WebServiceFeature... features) {
return Provider.provider().getPort(this, serviceEndpointInterface, features);
}
代码示例来源:origin: apache/cxf
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();
}
}
代码示例来源:origin: org.apache.tomee/openejb-core
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;
}
代码示例来源:origin: org.apache.openejb/openejb-core
public Endpoint createEndpoint(final String bindingId, final Object implementor) {
return delegate.createEndpoint(bindingId, implementor);
}
代码示例来源:origin: org.apache.openejb/openejb-core
public Endpoint createAndPublishEndpoint(final String address, final Object implementor) {
return delegate.createAndPublishEndpoint(address, implementor);
}
代码示例来源:origin: org.apache.openejb/javaee-api
/**
* @since 2.2
*/
public static Endpoint create(String bindingId, Object implementor, WebServiceFeature ... features) {
return Provider.provider().createEndpoint(bindingId, implementor, features);
}
代码示例来源:origin: javax/javaee-endorsed-api
protected Service(java.net.URL wsdlDocumentLocation, QName serviceName, WebServiceFeature ... features) {
delegate = Provider.provider().createServiceDelegate(wsdlDocumentLocation,
serviceName,
this.getClass(), features);
}
代码示例来源:origin: org.apache.openejb/javaee-api
public abstract void publish(String s);
内容来源于网络,如有侵权,请联系作者删除!