|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A service class acts as a factory of the following objects:
The Service implementation class is required to implement java.io.Serializable and javax.naming.Referenceable interfaces to support registration in the JNDI namespace.
| Method Summary | |
Call |
createCall()
Creates an empty Call object that needs to be configured using the setter methods on the Call interface. |
Call |
createCall(QName portName)
Creates a Call instance. |
Call |
createCall(QName portName,
java.lang.String operationName)
Creates a Call instance. |
java.rmi.Remote |
getPort(QName portName,
java.lang.Class proxyInterface)
The getPort method returns a dynamic proxy for the specified service port. |
java.util.Iterator |
getPorts()
Gets the list of qualified names of the ports grouped by this service |
QName |
getServiceName()
Gets the name of this Service. |
TypeMappingRegistry |
getTypeMappingRegistry()
Gets the TypeMappingRegistry registered with this Service object |
java.net.URL |
getWSDLDocumentLocation()
Gets location of the WSDL document for this Service. |
void |
setTypeMappingRegistry(TypeMappingRegistry registry)
Registers a type mapping registry with this Service object. |
| Method Detail |
public java.rmi.Remote getPort(QName portName,
java.lang.Class proxyInterface)
throws JAXRPCException
portName - Qualified name of the service port in the
WSDL based service descriptionproxyInterface - Service definition interface
supported by the dynamic proxyJAXRPCException - If the service class fails to create
a dynamic proxyjava.lang.IllegalArgumentException -
public Call createCall(QName portName)
throws JAXRPCException
portName - The qualified name for the target service
portJAXRPCException - If the Service class fails to create
a Call object
public Call createCall(QName portName,
java.lang.String operationName)
throws JAXRPCException
portName - The qualified name for the target service
portoperationName - Name of the operation for which this
Call object is created.JAXRPCException - If the Service class fails to create
a Call object
public Call createCall()
throws JAXRPCException
JAXRPCException - public QName getServiceName()
public java.util.Iterator getPorts()
public java.net.URL getWSDLDocumentLocation()
public void setTypeMappingRegistry(TypeMappingRegistry registry)
throws JAXRPCException
registry - TypeMappingRegistry objectjava.lang.UnsupportedOperation-Exception - if the
Service class does not support the configuration
of a TypeMappingRegistryJAXRPCException - if there is an error in the
configuration of the TypeMappingRegistry
public TypeMappingRegistry getTypeMappingRegistry()
throws JAXRPCException
java.lang.UnsupportedOperation-Exception - if the
Service class does not support the configuration
of a TypeMappingRegistry
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||