org.springframework.remoting.jaxws
@Deprecated public class LocalJaxRpcServiceFactory extends Object
Service
references.
Uses a JAX-RPC ServiceFactory
underneath.
Serves as base class for LocalJaxRpcServiceFactoryBean
as well as
JaxRpcPortClientInterceptor
and JaxRpcPortProxyFactoryBean
.
ServiceFactory
,
Service
,
LocalJaxRpcServiceFactoryBean
,
JaxRpcPortClientInterceptor
,
JaxRpcPortProxyFactoryBean
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger
Deprecated.
Logger available to subclasses
|
Constructor and Description |
---|
LocalJaxRpcServiceFactory()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
javax.xml.rpc.Service |
createJaxRpcService()
Deprecated.
Create a JAX-RPC Service according to the parameters of this factory.
|
protected javax.xml.rpc.Service |
createService(javax.xml.rpc.ServiceFactory serviceFactory)
Deprecated.
Actually create the JAX-RPC Service instance,
based on this factory's settings.
|
protected javax.xml.rpc.ServiceFactory |
createServiceFactory()
Deprecated.
Create a JAX-RPC ServiceFactory, either of the specified class
or the default.
|
Class |
getJaxRpcServiceInterface()
Deprecated.
Return the JAX-RPC service interface to use for looking up the service.
|
Properties |
getJaxRpcServiceProperties()
Deprecated.
Return JAX-RPC service properties to be passed to the ServiceFactory, if any.
|
String |
getNamespaceUri()
Deprecated.
Return the namespace URI of the service.
|
protected QName |
getQName(String name)
Deprecated.
Return a QName for the given name, relative to the namespace URI
of this factory, if given.
|
javax.xml.rpc.ServiceFactory |
getServiceFactory()
Deprecated.
Return the specified ServiceFactory instance, if any.
|
Class |
getServiceFactoryClass()
Deprecated.
Return the ServiceFactory class to use, or
null if default. |
String |
getServiceName()
Deprecated.
Return the name of the service.
|
JaxRpcServicePostProcessor[] |
getServicePostProcessors()
Deprecated.
Return the JaxRpcServicePostProcessors to be applied to JAX-RPC Service
instances created by this factory.
|
URL |
getWsdlDocumentUrl()
Deprecated.
Return the URL of the WSDL document that describes the service.
|
protected void |
postProcessJaxRpcService(javax.xml.rpc.Service service)
Deprecated.
Post-process the given JAX-RPC Service.
|
void |
setJaxRpcServiceInterface(Class jaxRpcServiceInterface)
Deprecated.
Set the JAX-RPC service interface to use for looking up the service.
|
void |
setJaxRpcServiceProperties(Properties jaxRpcServiceProperties)
Deprecated.
Set JAX-RPC service properties to be passed to the ServiceFactory, if any.
|
void |
setNamespaceUri(String namespaceUri)
Deprecated.
Set the namespace URI of the service.
|
void |
setServiceFactory(javax.xml.rpc.ServiceFactory serviceFactory)
Deprecated.
Set the ServiceFactory instance to use.
|
void |
setServiceFactoryClass(Class serviceFactoryClass)
Deprecated.
Set the ServiceFactory class to use, for example
"org.apache.axis.client.ServiceFactory".
|
void |
setServiceName(String serviceName)
Deprecated.
Set the name of the service to look up.
|
void |
setServicePostProcessors(JaxRpcServicePostProcessor[] servicePostProcessors)
Deprecated.
Set the JaxRpcServicePostProcessors to be applied to JAX-RPC Service
instances created by this factory.
|
void |
setWsdlDocumentUrl(URL wsdlDocumentUrl)
Deprecated.
Set the URL of the WSDL document that describes the service.
|
protected final org.apache.commons.logging.Log logger
public void setServiceFactory(javax.xml.rpc.ServiceFactory serviceFactory)
This is an alternative to the common "serviceFactoryClass" property, allowing for a pre-initialized ServiceFactory instance to be specified.
setServiceFactoryClass(java.lang.Class)
public javax.xml.rpc.ServiceFactory getServiceFactory()
public void setServiceFactoryClass(Class serviceFactoryClass)
Does not need to be set if the JAX-RPC implementation has registered itself with the JAX-RPC system property "SERVICEFACTORY_PROPERTY".
ServiceFactory
public Class getServiceFactoryClass()
null
if default.public void setWsdlDocumentUrl(URL wsdlDocumentUrl)
public URL getWsdlDocumentUrl()
public void setNamespaceUri(String namespaceUri)
public String getNamespaceUri()
public void setServiceName(String serviceName)
ServiceFactory.createService(javax.xml.namespace.QName)
,
ServiceFactory.createService(java.net.URL, javax.xml.namespace.QName)
,
ServiceFactory.loadService(java.net.URL, javax.xml.namespace.QName, java.util.Properties)
public String getServiceName()
public void setJaxRpcServiceInterface(Class jaxRpcServiceInterface)
The specified interface will usually be a generated JAX-RPC service interface that directly corresponds to the WSDL service declaration. Note that this is not a port interface or the application-level service interface to be exposed by a port proxy!
Only supported by JAX-RPC 1.1 providers.
setServiceName(java.lang.String)
,
ServiceFactory.loadService(Class)
,
ServiceFactory.loadService(java.net.URL, Class, java.util.Properties)
public Class getJaxRpcServiceInterface()
public void setJaxRpcServiceProperties(Properties jaxRpcServiceProperties)
Only supported by JAX-RPC 1.1 providers.
ServiceFactory.loadService(java.net.URL, javax.xml.namespace.QName, java.util.Properties)
,
ServiceFactory.loadService(java.net.URL, Class, java.util.Properties)
public Properties getJaxRpcServiceProperties()
public void setServicePostProcessors(JaxRpcServicePostProcessor[] servicePostProcessors)
Such post-processors can, for example, register custom type mappings. They are reusable across all pre-built subclasses of this factory: LocalJaxRpcServiceFactoryBean, JaxRpcPortClientInterceptor, JaxRpcPortProxyFactoryBean.
public JaxRpcServicePostProcessor[] getServicePostProcessors()
public javax.xml.rpc.Service createJaxRpcService() throws javax.xml.rpc.ServiceException
protected QName getQName(String name)
setNamespaceUri(java.lang.String)
protected javax.xml.rpc.ServiceFactory createServiceFactory() throws javax.xml.rpc.ServiceException
javax.xml.rpc.ServiceException
- if thrown by JAX-RPC methodssetServiceFactoryClass(java.lang.Class)
,
ServiceFactory.newInstance()
protected javax.xml.rpc.Service createService(javax.xml.rpc.ServiceFactory serviceFactory) throws javax.xml.rpc.ServiceException
serviceFactory
- the JAX-RPC ServiceFactory to usejavax.xml.rpc.ServiceException
- if thrown by JAX-RPC methodsServiceFactory.createService(java.net.URL, javax.xml.namespace.QName)
,
ServiceFactory.loadService(java.lang.Class)
protected void postProcessJaxRpcService(javax.xml.rpc.Service service)
createJaxRpcService()
.
Useful, for example, to register custom type mappings.
The default implementation delegates to all registered
JaxRpcServicePostProcessors
.
It is usually preferable to implement custom type mappings etc there rather
than in a subclass of this factory, to allow for reuse of the post-processors.
service
- the current JAX-RPC Service
(can be cast to an implementation-specific class if necessary)setServicePostProcessors(org.springframework.remoting.jaxrpc.JaxRpcServicePostProcessor[])
,
Service.getTypeMappingRegistry()
Copyright © 2015. All rights reserved.