|
||||||||||
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,
QName operationName)
Creates a Call instance. |
Call |
createCall(QName portName,
java.lang.String operationName)
Creates a Call instance. |
java.rmi.Remote |
getPort(java.lang.Class serviceDefInterface)
The getPort method returns a dynamic proxy for a default service port. |
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. |
Methods inherited from interface javax.naming.Referenceable |
getReference |
Method Detail |
public java.rmi.Remote getPort(QName portName, java.lang.Class proxyInterface) throws ServiceException
portName
- - Qualified name of the service port in the WSDL based service descriptionproxyInterface
- - Service definition interface supported by the dynamic proxyServiceException
- - If the service class fails to create a dynamic proxypublic java.rmi.Remote getPort(java.lang.Class serviceDefInterface) throws ServiceException
serviceDefInterface
- - Service definition interface supported by the dynamic proxyServiceException
- - If the service class fails to create a dynamic proxypublic Call createCall(QName portName) throws ServiceException
-
- The qualified name for the target service portServiceException
- - If the Service class fails to create a Call objectpublic Call createCall(QName portName, java.lang.String operationName) throws ServiceException
portName
- - The qualified name for the target service portoperationName
- - Name of the operation for which this Call object is created.ServiceException
- - If the Service class fails to create a Call objectpublic Call createCall(QName portName, QName operationName) throws ServiceException
portName
- - The qualified name for the target service portoperationName
- - QName of the operation for which this Call object is created.ServiceException
- - If the Service class fails to create a Call objectpublic Call createCall() throws ServiceException
ServiceException
- public java.net.URL getWSDLDocumentLocation()
public QName getServiceName()
public java.util.Iterator getPorts()
public void setTypeMappingRegistry(TypeMappingRegistry registry) throws ServiceException
registry
- - TypeMappingRegistry objectServiceException
- - if there is an error in the configuration of the TypeMappingRegistrypublic TypeMappingRegistry getTypeMappingRegistry()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |