org.springframework.remoting.jaxrpc
Class LocalJaxRpcServiceFactory

java.lang.Object
  extended byorg.springframework.remoting.jaxrpc.LocalJaxRpcServiceFactory
Direct Known Subclasses:
JaxRpcPortClientInterceptor, LocalJaxRpcServiceFactoryBean

public class LocalJaxRpcServiceFactory
extends java.lang.Object

Factory for locally defined JAX-RPC Service references. Uses a JAX-RPC ServiceFactory underneath.

Since:
15.12.2003
Author:
Juergen Hoeller
See Also:
ServiceFactory, Service

Field Summary
protected  org.apache.commons.logging.Log logger
           
 
Constructor Summary
LocalJaxRpcServiceFactory()
           
 
Method Summary
 javax.xml.rpc.Service createJaxRpcService()
          Create a JAX-RPC Service according to the parameters of this factory.
 javax.xml.rpc.ServiceFactory createServiceFactory()
          Create a JAX-RPC ServiceFactory, either of the specified class or the default.
 java.lang.String getNamespaceUri()
          Return the namespace URI of the service.
 javax.xml.namespace.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.Class getServiceFactoryClass()
          Return the ServiceFactory class to use, or null if default.
 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 setNamespaceUri(java.lang.String namespaceUri)
          Set the namespace URI of the service.
 void setServiceFactoryClass(java.lang.Class serviceFactoryClass)
          Set the ServiceFactory class to use, for example "org.apache.axis.client.ServiceFactory".
 void setServiceName(java.lang.String serviceName)
          Set the name of the service.
 void setWsdlDocumentUrl(java.net.URL wsdlDocumentUrl)
          Set the URL of the WSDL document that describes the service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger
Constructor Detail

LocalJaxRpcServiceFactory

public LocalJaxRpcServiceFactory()
Method Detail

setServiceFactoryClass

public void setServiceFactoryClass(java.lang.Class serviceFactoryClass)
Set the ServiceFactory class to use, for example "org.apache.axis.client.ServiceFactory".

Does not need to be set if the JAX-RPC implementation has registered itself with the JAX-RPC system property "SERVICEFACTORY_PROPERTY".

See Also:
ServiceFactory

getServiceFactoryClass

public java.lang.Class getServiceFactoryClass()
Return the ServiceFactory class to use, or null if default.


setWsdlDocumentUrl

public void setWsdlDocumentUrl(java.net.URL wsdlDocumentUrl)
Set the URL of the WSDL document that describes the service.


getWsdlDocumentUrl

public java.net.URL getWsdlDocumentUrl()
Return the URL of the WSDL document that describes the service.


setNamespaceUri

public void setNamespaceUri(java.lang.String namespaceUri)
Set the namespace URI of the service. Corresponds to the WSDL "targetNamespace".


getNamespaceUri

public java.lang.String getNamespaceUri()
Return the namespace URI of the service.


setServiceName

public void setServiceName(java.lang.String serviceName)
Set the name of the service. Corresponds to the "wsdl:service" name.


getServiceName

public java.lang.String getServiceName()
Return the name of the service.


getQName

public javax.xml.namespace.QName getQName(java.lang.String name)
Return a QName for the given name,* relative to the namespace URI of this factory, if given.

See Also:
setNamespaceUri(java.lang.String)

createServiceFactory

public javax.xml.rpc.ServiceFactory createServiceFactory()
                                                  throws javax.xml.rpc.ServiceException
Create a JAX-RPC ServiceFactory, either of the specified class or the default.

Throws:
javax.xml.rpc.ServiceException
See Also:
setServiceFactoryClass(java.lang.Class)

createJaxRpcService

public javax.xml.rpc.Service createJaxRpcService()
                                          throws javax.xml.rpc.ServiceException
Create a JAX-RPC Service according to the parameters of this factory.

Throws:
javax.xml.rpc.ServiceException
See Also:
setServiceName(java.lang.String), setWsdlDocumentUrl(java.net.URL)


Copyright (C) 2003-2004 The Spring Framework Project.