|
||||||||||
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. |
Call[] |
getCalls()
Gets an array of preconfigured Call objects for invoking operations on the specified port. |
HandlerRegistry |
getHandlerRegistry()
Returns the configured HandlerRegistry instance for this Service 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. |
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 Call[] getCalls() throws ServiceException
portName
- - Qualified name for the target service endpointServiceException
- - If this Service class does not have access
to the required WSDL metadata or if an illegal portName is specified.public HandlerRegistry getHandlerRegistry()
java.lang.UnsupportedOperationException
- - if the Service
class does not support the configuration of a
HandlerRegistry.public java.net.URL getWSDLDocumentLocation()
public QName getServiceName()
public java.util.Iterator getPorts()
public TypeMappingRegistry getTypeMappingRegistry()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |