org.gridbus.broker.services.application
Class ApplicationService
java.lang.Object
org.gridbus.broker.common.Service
org.gridbus.broker.services.application.ApplicationService
public class ApplicationService
- extends Service
- Author:
- Krishna
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationService
public ApplicationService()
getUrl
public java.lang.String getUrl()
- Returns:
- Returns the url.
setUrl
public void setUrl(java.lang.String url)
- Parameters:
url - The url to set.
getServiceType
public int getServiceType()
- Specified by:
getServiceType in class Service
- Returns:
- Returns the type of the service (One of the contants in ServiceType class).
- See Also:
Service.getServiceType()
discoverProperties
protected boolean discoverProperties(UserCredential uc)
throws GridBrokerException
- Description copied from class:
Service
- Discover properties should be implemented by all subclasses.
At the very least, this should inform the caller about
the availability of the (remote) service, and also set the "available"
field of the service object.
- Specified by:
discoverProperties in class Service
- Parameters:
uc - (credentials used to connect to the service, if any)
- Returns:
- true if the service is available, false otherwise.
- Throws:
GridBrokerException
getNamespace
public java.lang.String getNamespace()
- Returns:
- Returns the namespace.
setNamespace
public void setNamespace(java.lang.String namespace)
- Parameters:
namespace - The namespace to set.
queryJobStatus
public int queryJobStatus(Job job)
throws java.lang.Exception
- Throws:
java.lang.Exception- See Also:
ComputeServer.queryJobStatus(org.gridbus.broker.common.Job)
getServiceName
public java.lang.String getServiceName()
- Returns:
- service name
setServiceName
public void setServiceName(java.lang.String serviceName)
- Parameters:
serviceName -
getAccessPoints
public java.util.Map getAccessPoints()
- Returns:
- the accessPoints
setAccessPoints
public void setAccessPoints(java.util.Map accessPoints)
- Parameters:
accessPoints - the accessPoints to set