public class LocalJaxWsServiceFactory extends 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.
|
String |
getNamespaceUri()
Return the namespace URI of the service.
|
protected QName |
getQName(String name)
Return a QName for the given name, relative to the namespace URI
of this factory, if given.
|
String |
getServiceName()
Return the name of the service.
|
URL |
getWsdlDocumentUrl()
Return the URL of the WSDL document that describes the service.
|
void |
setExecutor(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(String namespaceUri)
Set the namespace URI of the service.
|
void |
setServiceFeatures(WebServiceFeature... serviceFeatures)
Specify WebServiceFeature objects (e.g.
|
void |
setServiceName(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(URL wsdlDocumentUrl)
Set the URL of the WSDL document that describes the service.
|
public void setWsdlDocumentUrl(URL wsdlDocumentUrl)
setWsdlDocumentResource(Resource)
public void setWsdlDocumentResource(Resource wsdlDocumentResource) throws IOException
Resource
.IOException
public URL getWsdlDocumentUrl()
public void setNamespaceUri(String namespaceUri)
public String getNamespaceUri()
public void setServiceName(String serviceName)
public String getServiceName()
public void setServiceFeatures(WebServiceFeature... serviceFeatures)
Note: This mechanism requires JAX-WS 2.2 or higher.
Service.create(QName, WebServiceFeature...)
public void setExecutor(Executor executor)
public void setHandlerResolver(HandlerResolver handlerResolver)
@UsesJava7 public Service createJaxWsService()
protected QName getQName(String name)
setNamespaceUri(java.lang.String)