|
||||||||||
| PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.xml.rpc.ServiceFactory
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 javax.xml.rpc.ServiceFactory System property.
| 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 | |
protected |
ServiceFactory()
|
| Method Summary | |
abstract Service (src) |
createService(QName (src) serviceName)
Create a Service instance. |
abstract Service (src) |
createService(java.net.URL wsdlDocumentLocation,
QName (src) serviceName)
Create a Service instance. |
abstract Service (src) |
loadService(java.lang.Class serviceInterface)
Create an instance of the generated service implementation class for a given service interface, if available. |
abstract Service (src) |
loadService(java.net.URL wsdlDocumentLocation,
java.lang.Class serviceInterface,
java.util.Properties props)
Create an instance of the generated service implementation class for a given service interface, if available. |
abstract Service (src) |
loadService(java.net.URL wsdlDocumentLocation,
QName (src) serviceName,
java.util.Properties props)
Create an instance of the generated service implementation class for a given service, if available. |
static ServiceFactory (src) |
newInstance()
Gets an instance of the ServiceFactory Only one copy of a factory exists and is returned to the application each time this method is called. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String SERVICEFACTORY_PROPERTY
| Constructor Detail |
protected ServiceFactory()
| Method Detail |
public static ServiceFactory (src) newInstance()
throws ServiceException (src)
ServiceException (src) - on failure to instantiate the ServiceFactory impl
public abstract Service (src) loadService(java.lang.Class serviceInterface)
throws ServiceException (src)
serviceInterface - Service interface
ServiceException (src) - If there is any error while creating the specified service, including the case where a
generated service implementation class cannot be located
public abstract Service (src) loadService(java.net.URL wsdlDocumentLocation,
java.lang.Class serviceInterface,
java.util.Properties props)
throws ServiceException (src)
wsdlDocumentLocation - URL for the WSDL document location for the service or nullserviceInterface - Service interfaceprops - A set of implementation-specific properties to help locate the generated service implementation class
ServiceException (src) - If there is any error while creating the specified service, including the case where a
generated service implementation class cannot be located
public abstract Service (src) loadService(java.net.URL wsdlDocumentLocation,
QName (src) serviceName,
java.util.Properties props)
throws ServiceException (src)
wsdlDocumentLocation - URL for the WSDL document location for the service or nullserviceName - Qualified name for the serviceprops - A set of implementation-specific properties to help locate the generated service implementation class
ServiceException (src) - If there is any error while creating the specified service, including the case where a generated service implementation class cannot be located
public abstract Service (src) createService(QName (src) serviceName)
throws ServiceException (src)
Service instance.
serviceName - QName for the service
ServiceException (src) - If any error in creation of the specified service
public abstract Service (src) createService(java.net.URL wsdlDocumentLocation,
QName (src) serviceName)
throws ServiceException (src)
Service instance.
wsdlDocumentLocation - URL for the WSDL document locationserviceName - QName for the service.
ServiceException (src) - If any error in creation of the
specified service
|
||||||||||
| PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||