javax.xml.rpc

Class ServiceFactory

Known Direct Subclasses:
ServiceFactory

public abstract class ServiceFactory
extends java.lang.Object

The javax.xml.rpc.ServiceFactory is an abstract class that provides a factory for the creation of instances of the type javax.xml.rpc.Service. This abstract class follows the abstract static factory design pattern. This enables a J2SE based client to create a Service instance in a portable manner without using the constructor of the Service implementation class.

The ServiceFactory implementation class is set using the system property SERVICEFACTORY_PROPERTY.

Version:
1.0

Field Summary

static java.lang.String
SERVICEFACTORY_PROPERTY
A constant representing the property used to lookup the name of a ServiceFactory implementation class.

Constructor Summary

ServiceFactory()
Protected constructor.

Method Summary

abstract Service
createService(URL wsdlDocumentLocation, QName serviceName)
Create a Service instance.
abstract Service
createService(QName serviceName)
Create a Service instance.
abstract Service
loadService(URL url, java.lang.Class class1, java.util.Properties properties)
abstract Service
loadService(URL url, QName qname, java.util.Properties properties)
abstract Service
loadService(java.lang.Class class1)