org.gridbus.broker.farming.common.services
Class Service
java.lang.Object
|
+--org.gridbus.broker.farming.common.services.Service
- Direct Known Subclasses:
- GMD, ReplicaCatalog, SrbMCAT
- public abstract class Service
- extends java.lang.Object
- Author:
- krishna
The abstract class Service defines a template for Services which are available on the grid.
Such as application services, information services (catalogs, directories etc...)
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GMD
public static final int GMD
- See Also:
- Constant Field Values
REPLICA_CATALOG
public static final int REPLICA_CATALOG
- See Also:
- Constant Field Values
SRB_MCAT
public static final int SRB_MCAT
- See Also:
- Constant Field Values
Service
public Service()
getType
public int getType()
- Returns:
- Returns the type.
setType
public void setType(int type)
- Parameters:
type - The type to set.
getUrl
public java.lang.String getUrl()
- Returns:
- Returns the url.
setUrl
public void setUrl(java.lang.String url)
- Parameters:
url - The url to set.
getCost
public float getCost()
- Returns:
- Returns the cost.
setCost
public void setCost(float cost)
- Parameters:
cost - The cost to set.
getUserCredential
public UserCredential getUserCredential()
- Returns:
- Returns the userCredential.
setUserCredential
public void setUserCredential(UserCredential userCredential)
- Parameters:
userCredential - The userCredential to set.