org.globus.exec.utils.client
Class ManagedJobClientHelper

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

public class ManagedJobClientHelper
extends java.lang.Object

Helper class for client code.


Constructor Summary
ManagedJobClientHelper()
           
 
Method Summary
static org.apache.axis.message.addressing.EndpointReferenceType getEndpoint(java.lang.String handle)
           
static org.apache.axis.message.addressing.EndpointReferenceType getEndpoint(java.lang.String serviceAddress, java.lang.String resourceID)
          Returns a resource-qualified endpoint reference to a managed job service.
static java.lang.String getHandle(org.apache.axis.message.addressing.EndpointReferenceType endpoint)
           
static ManagedJobPortType getPort(org.apache.axis.message.addressing.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(org.apache.axis.message.addressing.EndpointReferenceType endpoint)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

getEndpoint

public static org.apache.axis.message.addressing.EndpointReferenceType getEndpoint(java.lang.String serviceAddress,
                                                                                   java.lang.String resourceID)
                                                                            throws java.lang.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:
java.lang.Exception

getEndpoint

public static org.apache.axis.message.addressing.EndpointReferenceType getEndpoint(java.lang.String handle)
                                                                            throws java.lang.Exception
Throws:
java.lang.Exception

getHandle

public static java.lang.String getHandle(org.apache.axis.message.addressing.EndpointReferenceType endpoint)