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
 String getHandle()
          Retrieves a handle to this service.
 String getRequestFailMessage(Exception e)
           
 String getRequestSuccessMessage()
           
 void request(ServiceRequest request)
          Invokes the service with given request.
 void setArguments(String[] args)
           
 void setCredentials(GSSCredential cred)
          Sets the credentials for the service.
 

Method Detail

setCredentials

public void setCredentials(GSSCredential cred)
Sets the credentials for the service.


request

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

Throws:
ServiceException

getHandle

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


setArguments

public void setArguments(String[] args)
                  throws ServiceException
Throws:
ServiceException

getRequestSuccessMessage

public String getRequestSuccessMessage()

getRequestFailMessage

public String getRequestFailMessage(Exception e)