public class LocalJaxWsServiceFactory
extends java.lang.Object
Service
references.
Uses the JAX-WS Service.create(java.net.URL, javax.xml.namespace.QName)
factory API underneath.
Serves as base class for LocalJaxWsServiceFactoryBean
as well as
JaxWsPortClientInterceptor
and JaxWsPortProxyFactoryBean
.
Service
,
LocalJaxWsServiceFactoryBean
,
JaxWsPortClientInterceptor
,
JaxWsPortProxyFactoryBean
Constructor and Description |
---|
LocalJaxWsServiceFactory() |
Modifier and Type | Method and Description |
---|---|
Service |
createJaxWsService()
Create a JAX-WS Service according to the parameters of this factory.
|
java.lang.String |
getNamespaceUri()
Return the namespace URI of the service.
|
protected QName |
getQName(java.lang.String name)
Return a QName for the given name, relative to the namespace URI
of this factory, if given.
|
java.lang.String |
getServiceName()
Return the name of the service.
|
java.net.URL |
getWsdlDocumentUrl()
Return the URL of the WSDL document that describes the service.
|
void |
setExecutor(java.util.concurrent.Executor executor)
Set the JDK concurrent executor to use for asynchronous executions
that require callbacks.
|
void |
setHandlerResolver(HandlerResolver handlerResolver)
Set the JAX-WS HandlerResolver to use for all proxies and dispatchers
created through this factory.
|
void |
setNamespaceUri(java.lang.String namespaceUri)
Set the namespace URI of the service.
|
void |
setServiceFeatures(WebServiceFeature... serviceFeatures)
Specify WebServiceFeature objects (e.g.
|
void |
setServiceName(java.lang.String serviceName)
Set the name of the service to look up.
|
void |
setWsdlDocumentResource(Resource wsdlDocumentResource)
Set the WSDL document URL as a
Resource . |
void |
setWsdlDocumentUrl(java.net.URL wsdlDocumentUrl)
Set the URL of the WSDL document that describes the service.
|
public void setWsdlDocumentUrl(java.net.URL wsdlDocumentUrl)
setWsdlDocumentResource(Resource)
public void setWsdlDocumentResource(Resource wsdlDocumentResource) throws java.io.IOException
Resource
.java.io.IOException
public java.net.URL getWsdlDocumentUrl()
public void setNamespaceUri(java.lang.String namespaceUri)
public java.lang.String getNamespaceUri()
public void setServiceName(java.lang.String serviceName)
public java.lang.String getServiceName()
public void setServiceFeatures(WebServiceFeature... serviceFeatures)
Note: This mechanism requires JAX-WS 2.2 or higher.
Service.create(QName, WebServiceFeature...)
public void setExecutor(java.util.concurrent.Executor executor)
public void setHandlerResolver(HandlerResolver handlerResolver)
@UsesJava7 public Service createJaxWsService()
protected QName getQName(java.lang.String name)
setNamespaceUri(java.lang.String)