org.globus.ogsa.impl.core.handle
Class HandleHelper

java.lang.Object
  extended byorg.globus.ogsa.impl.core.handle.HandleHelper

public class HandleHelper
extends java.lang.Object

Helper class to make conversions between Grid Service Handles (GSH) and Grid Service References (GSR)


Field Summary
static java.lang.String HANDLE_RESOLVER
           
 
Constructor Summary
HandleHelper()
           
 
Method Summary
static GSR getGSR(HandleType handle)
           
static java.lang.String getHandle(java.lang.String servicePath, ServiceProperties properties)
           
static java.lang.String getHandleURL(HandleType handle)
           
static java.lang.String getInstanceID(HandleType handle)
           
static java.lang.String getInstanceID(java.lang.String handle)
           
static java.lang.String getParentID(HandleType handle)
           
static java.lang.String getParentID(java.lang.String handle)
           
static HandleType getResolverHandle(HandleType handle)
           
static HandleType getResolverHandle(java.lang.String handle)
           
static java.net.URL getResolverHandle(java.net.URL handle)
           
static java.lang.String getServicePath(HandleType handle)
           
static java.lang.String getServicePath(java.lang.String handle)
           
static boolean isLocal(HandleType handle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HANDLE_RESOLVER

public static final java.lang.String HANDLE_RESOLVER
See Also:
Constant Field Values
Constructor Detail

HandleHelper

public HandleHelper()
Method Detail

getInstanceID

public static java.lang.String getInstanceID(HandleType handle)
                                      throws InvalidHandleFaultType
Throws:
InvalidHandleFaultType

getServicePath

public static java.lang.String getServicePath(HandleType handle)
                                       throws InvalidHandleFaultType
Throws:
InvalidHandleFaultType

getServicePath

public static java.lang.String getServicePath(java.lang.String handle)
                                       throws InvalidHandleFaultType
Throws:
InvalidHandleFaultType

getInstanceID

public static java.lang.String getInstanceID(java.lang.String handle)
                                      throws InvalidHandleFaultType
Throws:
InvalidHandleFaultType

getParentID

public static java.lang.String getParentID(HandleType handle)
                                    throws InvalidHandleFaultType
Throws:
InvalidHandleFaultType

getResolverHandle

public static HandleType getResolverHandle(HandleType handle)
                                    throws InvalidHandleFaultType
Throws:
InvalidHandleFaultType

getResolverHandle

public static HandleType getResolverHandle(java.lang.String handle)
                                    throws InvalidHandleFaultType
Throws:
InvalidHandleFaultType

getResolverHandle

public static java.net.URL getResolverHandle(java.net.URL handle)
                                      throws InvalidHandleFaultType
Throws:
InvalidHandleFaultType

getParentID

public static java.lang.String getParentID(java.lang.String handle)
                                    throws InvalidHandleFaultType
Throws:
InvalidHandleFaultType

getGSR

public static GSR getGSR(HandleType handle)
                  throws FaultType
Throws:
FaultType

getHandle

public static java.lang.String getHandle(java.lang.String servicePath,
                                         ServiceProperties properties)
                                  throws GridServiceException
Throws:
GridServiceException

getHandleURL

public static java.lang.String getHandleURL(HandleType handle)

isLocal

public static boolean isLocal(HandleType handle)


Copyright ? 1999 University of Chicago and The University of Southern California. All Rights Reserved.