类 LocalJaxWsServiceFactory
- java.lang.Object
- org.springframework.remoting.jaxws.LocalJaxWsServiceFactory
public class LocalJaxWsServiceFactory extends Object
Factory for locally defined JAX-WSService
references. Uses the JAX-WSService.create(java.net.URL, javax.xml.namespace.QName)
factory API underneath.Serves as base class for
LocalJaxWsServiceFactoryBean
as well asJaxWsPortClientInterceptor
andJaxWsPortProxyFactoryBean
.- 从以下版本开始:
- 2.5
- 作者:
- Juergen Hoeller
- 另请参阅:
Service
,LocalJaxWsServiceFactoryBean
,JaxWsPortClientInterceptor
,JaxWsPortProxyFactoryBean
构造器概要
构造器 构造器 说明 LocalJaxWsServiceFactory()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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. as inner bean definitions) to apply to JAX-WS service creation.void
setServiceName(String serviceName)
Set the name of the service to look up.void
setWsdlDocumentResource(Resource wsdlDocumentResource)
Set the WSDL document URL as aResource
.void
setWsdlDocumentUrl(URL wsdlDocumentUrl)
Set the URL of the WSDL document that describes the service.
构造器详细资料
LocalJaxWsServiceFactory
public LocalJaxWsServiceFactory()
方法详细资料
setWsdlDocumentUrl
public void setWsdlDocumentUrl(@Nullable URL wsdlDocumentUrl)
Set the URL of the WSDL document that describes the service.
setWsdlDocumentResource
public void setWsdlDocumentResource(Resource wsdlDocumentResource) throws IOException
Set the WSDL document URL as aResource
.- 抛出:
IOException
- 从以下版本开始:
- 3.2
getWsdlDocumentUrl
@Nullable public URL getWsdlDocumentUrl()
Return the URL of the WSDL document that describes the service.
setNamespaceUri
public void setNamespaceUri(@Nullable String namespaceUri)
Set the namespace URI of the service. Corresponds to the WSDL "targetNamespace".
getNamespaceUri
@Nullable public String getNamespaceUri()
Return the namespace URI of the service.
setServiceName
public void setServiceName(@Nullable String serviceName)
Set the name of the service to look up. Corresponds to the "wsdl:service" name.
getServiceName
@Nullable public String getServiceName()
Return the name of the service.
setServiceFeatures
public void setServiceFeatures(WebServiceFeature... serviceFeatures)
Specify WebServiceFeature objects (e.g. as inner bean definitions) to apply to JAX-WS service creation.- 从以下版本开始:
- 4.0
- 另请参阅:
Service.create(QName, WebServiceFeature...)
setExecutor
public void setExecutor(Executor executor)
Set the JDK concurrent executor to use for asynchronous executions that require callbacks.
setHandlerResolver
public void setHandlerResolver(HandlerResolver handlerResolver)
Set the JAX-WS HandlerResolver to use for all proxies and dispatchers created through this factory.
createJaxWsService
public Service createJaxWsService()
Create a JAX-WS Service according to the parameters of this factory.