org.ourgrid.common.config
Class UserAgentConfiguration
java.lang.Object
org.ourgrid.common.config.Configuration
org.ourgrid.common.config.UserAgentConfiguration
public class UserAgentConfiguration
- extends Configuration
Fields inherited from class org.ourgrid.common.config.Configuration |
COREPEER, MGROOT, MYGRID, PEER, PROP_EXTERNAL_NAME, PROP_KEYSTORE_FILENAME, PROP_KEYSTORE_PASSWORD, PROP_LOG_PROPERTIES_FILE, PROP_LOGFILE, PROP_NAME, PROP_PORT, PROP_SECURE_PORT, PROP_SECURITY, PROP_STARTED_TIME, PROP_TRUSTSTORE_FILENAME, PROP_TRUSTSTORE_PASSWORD, singleInstance, USERAGENT, VERSION |
Method Summary |
static java.util.Map<java.lang.String,java.lang.String> |
getDefaults()
Gets default values in a Map object. |
protected java.lang.String |
getPrefix()
Returns the module specific prefix used to indentify it's own properties. |
java.lang.String |
getRootDir()
Gets the module configuration rootdir. |
Methods inherited from class org.ourgrid.common.config.Configuration |
createInstance, getHostname, getInstance, getInstance, getLogPath, getLogPropertiesPath, getProperty, getXMLLogPath, isEnabled, isSecurityEnabled, isUsingDefaultProperties, loadPropertiesFromFile, reset, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PREFIX
public static final java.lang.String PREFIX
- The UA property prefix
- See Also:
- Constant Field Values
PROPERTIES_FILENAME
public static final java.lang.String PROPERTIES_FILENAME
PROP_STORAGE_DIR
public static final java.lang.String PROP_STORAGE_DIR
- See Also:
- Constant Field Values
PROP_STORAGE_SIZE
public static final java.lang.String PROP_STORAGE_SIZE
- See Also:
- Constant Field Values
PROP_STORAGE_SHARED
public static final java.lang.String PROP_STORAGE_SHARED
- See Also:
- Constant Field Values
PROP_PLAYPEN_ROOT
public static final java.lang.String PROP_PLAYPEN_ROOT
- See Also:
- Constant Field Values
PROP_PLAYPEN_SIZE
public static final java.lang.String PROP_PLAYPEN_SIZE
- See Also:
- Constant Field Values
PROP_IDLENESS_DETECTOR
public static final java.lang.String PROP_IDLENESS_DETECTOR
- See Also:
- Constant Field Values
PROP_IDLENESS_TIME
public static final java.lang.String PROP_IDLENESS_TIME
- See Also:
- Constant Field Values
ATT_TYPE
public static final java.lang.String ATT_TYPE
- See Also:
- Constant Field Values
ATT_REM_EXEC
public static final java.lang.String ATT_REM_EXEC
- See Also:
- Constant Field Values
ATT_COPY_FROM
public static final java.lang.String ATT_COPY_FROM
- See Also:
- Constant Field Values
ATT_COPY_TO
public static final java.lang.String ATT_COPY_TO
- See Also:
- Constant Field Values
ATT_PLAYPEN_ROOT
public static final java.lang.String ATT_PLAYPEN_ROOT
- See Also:
- Constant Field Values
ATT_PLAYPEN_SIZE
public static final java.lang.String ATT_PLAYPEN_SIZE
- See Also:
- Constant Field Values
ATT_STORAGE_DIR
public static final java.lang.String ATT_STORAGE_DIR
- See Also:
- Constant Field Values
ATT_STORAGE_SIZE
public static final java.lang.String ATT_STORAGE_SIZE
- See Also:
- Constant Field Values
ATT_OS
public static final java.lang.String ATT_OS
- See Also:
- Constant Field Values
ATT_MEM
public static final java.lang.String ATT_MEM
- See Also:
- Constant Field Values
ATT_SITE
public static final java.lang.String ATT_SITE
- See Also:
- Constant Field Values
ATT_STORAGE_SHARED
public static final java.lang.String ATT_STORAGE_SHARED
- See Also:
- Constant Field Values
TYPE_UA_LINUX
public static final java.lang.String TYPE_UA_LINUX
- See Also:
- Constant Field Values
TYPE_UA_WINDOWS
public static final java.lang.String TYPE_UA_WINDOWS
- See Also:
- Constant Field Values
TYPE_UA_SWAN
public static final java.lang.String TYPE_UA_SWAN
- See Also:
- Constant Field Values
OS_LINUX
public static final java.lang.String OS_LINUX
- See Also:
- Constant Field Values
OS_WINDOWS
public static final java.lang.String OS_WINDOWS
- See Also:
- Constant Field Values
OS_LINUX_XEN
public static final java.lang.String OS_LINUX_XEN
- See Also:
- Constant Field Values
QUERY_FREQ
public static final int QUERY_FREQ
- See Also:
- Constant Field Values
UserAgentConfiguration
public UserAgentConfiguration()
- Default constructor
getPrefix
protected java.lang.String getPrefix()
- Description copied from class:
Configuration
- Returns the module specific prefix used to indentify it's own properties.
For example, the MyGrid properties prefix is "mg." , the OurGrid's one is
"peer." .
- Specified by:
getPrefix
in class Configuration
- Returns:
- The module specific property prefix.
getRootDir
public java.lang.String getRootDir()
- Description copied from class:
Configuration
- Gets the module configuration rootdir.
- Specified by:
getRootDir
in class Configuration
- Returns:
- The module configuration rootdir path.
getDefaults
public static java.util.Map<java.lang.String,java.lang.String> getDefaults()
- Gets default values in a Map object.
- Returns:
- A Map object that holds default values