org.globus.gatekeeper
Interface Service

All Known Implementing Classes:
ForkJobManagerService, JobManagerService, ShellJobManagerService

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

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


request

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

Throws:
ServiceException

getHandle

String getHandle()
Retrieves a handle to this service.


setArguments

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

getRequestSuccessMessage

String getRequestSuccessMessage()

getRequestFailMessage

String getRequestFailMessage(Exception e)