org.globus.exec.utils.client
Class ManagedJobClientHelper
java.lang.Object
org.globus.exec.utils.client.ManagedJobClientHelper
- public class ManagedJobClientHelper
- extends Object
Helper class for client code.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagedJobClientHelper
public ManagedJobClientHelper()
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 ManagedJobServiceresourceID - 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)