org.globus.ogsa.wsdl
Class GSR
java.lang.Object
org.globus.ogsa.wsdl.GSR
- public class GSR
- extends java.lang.Object
Class used to parse inspect and retrieve Grid Service References (GSR)
Field Summary |
protected static org.apache.commons.logging.Log |
logger
|
Constructor Summary |
GSR(org.w3c.dom.Document doc)
|
GSR(org.w3c.dom.Element reference)
|
GSR(HandleType handle)
|
GSR(java.lang.String url)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
logger
protected static org.apache.commons.logging.Log logger
GSR
public GSR(org.w3c.dom.Document doc)
throws GridServiceException
GSR
public GSR(org.w3c.dom.Element reference)
throws GridServiceException
GSR
public GSR(HandleType handle)
throws GridServiceException
GSR
public GSR(java.lang.String url)
throws GridServiceException
newInstance
public static GSR newInstance(HandleType handle)
throws FaultType,
GridServiceException
- Throws:
FaultType
GridServiceException
newInstance
public static GSR newInstance(LocatorType locator)
throws FaultType,
GridServiceException
- Retrieves a GSR from the specified locator.
The function first checks the GSR list and returns the first GSR
that is of the
WSDLReferenceType
type. If there is no GSRs
in the locator, the function will try to resolve the first GSH in
GSH list into a GSR. If there is no GSRs and no GSHs in the locator
an error is returned.
- Parameters:
locator
- contains a list of GSHs and/or GSRs of the service.
- Returns:
- the GSR of the service.
- Throws:
FaultType
GridServiceException
getDocument
public org.w3c.dom.Document getDocument()
getWSDLDefinition
public javax.wsdl.Definition getWSDLDefinition()
throws GridServiceException
- Throws:
GridServiceException
getHandle
public HandleType getHandle()
getEndpoint
public java.lang.String getEndpoint(java.lang.String port)
getEndpoint
public java.lang.String getEndpoint()
getPortTypes
public java.util.Collection getPortTypes()
throws GridServiceException
- Throws:
GridServiceException
getGWSDLPortTypes
public java.util.Collection getGWSDLPortTypes()
throws GridServiceException
- Throws:
GridServiceException
getExtensions
public java.util.Collection getExtensions(java.lang.Class javaClass,
javax.wsdl.Definition definition)
throws GridServiceException
- Throws:
GridServiceException
getSymbolTable
public SymbolTable getSymbolTable()
throws GridServiceException
- Throws:
GridServiceException
getExtensions
public void getExtensions(javax.wsdl.Definition extensionDefinition,
java.lang.String context)
throws GridServiceException
- Throws:
GridServiceException
toString
public java.lang.String toString()
Copyright ? 1999 University of Chicago and The University of Southern California. All Rights Reserved.