Java Globus API: Interface Service

org.globus.gatekeeper
Interface Service

All Known Implementing Classes:
JobManagerService

public interface Service

Provides a simple interface is accessed by the gatekeeper to forward service requests and handle service-specific protocol replies.


Method Summary
 java.lang.String getHandle()
          Retrieves a handle to this service.
 java.lang.String getRequestFailMessage(java.lang.Exception e)
           
 java.lang.String getRequestSuccessMessage()
           
 void request(ServiceRequest request)
          Invokes the service with given request.
 void setArguments(java.lang.String[] args)
           
 void setCredentials(GlobusProxy proxy)
          Sets the credentials for the service.
 

Method Detail

setCredentials

public void setCredentials(GlobusProxy proxy)
Sets the credentials for the service.

request

public void request(ServiceRequest request)
             throws ServiceException
Invokes the service with given request.

getHandle

public java.lang.String getHandle()
Retrieves a handle to this service.

setArguments

public void setArguments(java.lang.String[] args)
                  throws ServiceException

getRequestSuccessMessage

public java.lang.String getRequestSuccessMessage()

getRequestFailMessage

public java.lang.String getRequestFailMessage(java.lang.Exception e)