org.globus.exec.utils.client
Class ManagedJobClientHelper

java.lang.Object
  extended byorg.globus.exec.utils.client.ManagedJobClientHelper

public class ManagedJobClientHelper
extends Object

Helper class for client code.


Constructor Summary
ManagedJobClientHelper()
           
 
Method Summary
static EndpointReferenceType getEndpoint(String handle)
           
static EndpointReferenceType getEndpoint(String serviceAddress, String resourceID)
          Returns a resource-qualified endpoint reference to a managed job service.
static String getHandle(EndpointReferenceType endpoint)
           
static ManagedJobPortType getPort(EndpointReferenceType endpoint)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedJobClientHelper

public ManagedJobClientHelper()
Method Detail

getPort

public static ManagedJobPortType getPort(EndpointReferenceType endpoint)
                                  throws Exception
Throws:
Exception

getEndpoint

public static EndpointReferenceType getEndpoint(String serviceAddress,
                                                String resourceID)
                                                                            throws Exception
Returns a resource-qualified endpoint reference to a managed job service.

Parameters:
serviceAddress - String The URL to the ManagedJobService
resourceID - String The job ID, used as a key for the resource
Returns:
EndpointReferenceType The EndpointReference to the service
Throws:
Exception

getEndpoint

public static EndpointReferenceType getEndpoint(String handle)
                                                                            throws Exception
Throws:
Exception

getHandle

public static String getHandle(EndpointReferenceType endpoint)