|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.gridbus.broker.farming.common.BrokerProperties
This is the class which contains the global properties for the broker (loaded from DB.properties file at runtime)
| Constructor Summary | |
BrokerProperties()
Default constructor for the BrokerProperties class |
|
| Method Summary | |
static java.lang.String |
getProperty(java.lang.String key)
Returns a specified property or null if it doesn't exist. |
static java.lang.String |
getProperty(java.lang.String key,
java.lang.String def)
Returns a single property value for the given "key" |
static org.ietf.jgss.GSSCredential |
getProxy()
Get the proxy of the broker |
static void |
setBrokerProperties(java.util.Properties prop)
Sets all the broker properties at once |
static void |
setProperty(java.lang.String key,
java.lang.String val)
Sets the property key with the value val |
static void |
setProxy(org.ietf.jgss.GSSCredential prox)
Sets the proxy for the broker |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BrokerProperties()
| Method Detail |
public static org.ietf.jgss.GSSCredential getProxy()
public static void setProxy(org.ietf.jgss.GSSCredential prox)
prox - - GSSCredential proxy object
public static java.lang.String getProperty(java.lang.String key)
throws GridBrokerException
key - The name or 'key' of the property
GridBrokerException - If BrokerProperties.setBrokerProperties() has not been called.
public static java.lang.String getProperty(java.lang.String key,
java.lang.String def)
key - : the name of the property to getdef - : default value to return
public static void setBrokerProperties(java.util.Properties prop)
prop - : Properties object which contains all the properties
public static void setProperty(java.lang.String key,
java.lang.String val)
throws GridBrokerException
key - : name of the property to setval - : value of the property to be set
GridBrokerException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||