Package com.sun.enterprise.util
Class SystemPropertyConstants
java.lang.Object
com.sun.enterprise.util.SystemPropertyConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final StringThe certificate nick name specified in the System-Jmx-Conenctor of the DAS with which a Node Agent synchronizesstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringname of the server's clusterstatic final Stringstatic final StringFieldstatic final Stringstatic final Stringstatic final StringFieldstatic final Stringstatic final Stringstatic final Stringstatic final StringFieldstatic final StringDeprecated.static final Stringstatic final Stringstatic final Stringstatic final Stringname of the domain keystatic final StringFieldstatic final Stringstatic final Stringname of the HADB location propertystatic final Stringstatic final StringFieldstatic final StringFieldstatic final StringFieldstatic final StringFieldstatic final StringFieldstatic final Stringstatic final StringFieldstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringJava ES Monitoring Framework install directorystatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFieldstatic final Stringstatic final Stringstatic final StringFieldstatic final Stringstatic final Stringname of the server instance keystatic final StringField used by Monitoring to encode a forward slash and/or dotstatic final StringName of the default config that determines the configuration for the instancesstatic final Stringstatic final StringFieldstatic final StringFieldstatic final Stringstatic final StringFieldstatic final StringField -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final StringReturns the default value (as would appear in the domain.xml on installation) of file where the acess log of a virtual server is stored, as a String.static final StringgetAdminScriptLocation(String installRoot) static final StringReturns the system specific file.separator delimited path to the asadmin script.static final StringgetAsAdminScriptLocation(String installRoot) static final StringReturns the component identifier associated with the INSTALL_ROOT.static final IntegerReturns the default timeout in milliseconds used in some Admin commands.static final StringReturns the default value (as would appear in the domain.xml on installation) of docroot of a virtual server, as a String.static final StringgetPropertyAsValue(String name) A method that returns the passed String as a property that can be replaced at run time.static final booleanstatic final StringReturns the string removing the "system-property syntax" from it.
-
Field Details
-
SLASH
Field used by Monitoring to encode a forward slash and/or dot- See Also:
-
MONDOT
- See Also:
-
UNIX_ASENV_FILENAME
Field- See Also:
-
WINDOWS_ASENV_FILENAME
Field- See Also:
-
WEB_SERVICES_LIB_PROPERTY
Field- See Also:
-
PERL_ROOT_PROPERTY
Field- See Also:
-
IMQ_LIB_PROPERTY
Field- See Also:
-
IMQ_BIN_PROPERTY
Field- See Also:
-
CONFIG_ROOT_PROPERTY
Field- See Also:
-
INSTALL_ROOT_PROPERTY
Field- See Also:
-
PRODUCT_ROOT_PROPERTY
Field- See Also:
-
JAVA_ROOT_PROPERTY
Field- See Also:
-
JAVA_ROOT_PROPERTY_ASENV
- See Also:
-
ICU_LIB_PROPERTY
Field- See Also:
-
DEFAULT_LOCALE_PROPERTY
Field- See Also:
-
DOMAINS_ROOT_PROPERTY
Field- See Also:
-
INSTANCE_ROOT_PROPERTY
Field- See Also:
-
DEBUG_MODE_PROPERTY
Field- See Also:
-
AGENT_CERT_NICKNAME
The certificate nick name specified in the System-Jmx-Conenctor of the DAS with which a Node Agent synchronizes- See Also:
-
AGENT_ROOT_PROPERTY
- See Also:
-
AGENT_NAME_PROPERTY
- See Also:
-
WEBCONSOLE_LIB_PROPERTY
Field- See Also:
-
WEBCONSOLE_APP_PROPERTY
- See Also:
-
JATO_ROOT_PROPERTY
- See Also:
-
ANT_ROOT_PROPERTY
- See Also:
-
ANT_LIB_PROPERTY
- See Also:
-
JHELP_ROOT_PROPERTY
- See Also:
-
SERVER_NAME
name of the server instance key- See Also:
-
CLUSTER_NAME
name of the server's cluster- See Also:
-
HADB_ROOT_PROPERTY
name of the HADB location property- See Also:
-
NSS_ROOT_PROPERTY
- See Also:
-
NSS_BIN_PROPERTY
- See Also:
-
NATIVE_LAUNCHER
- See Also:
-
NATIVE_LAUNCHER_LIB_PREFIX
- See Also:
-
KEYSTORE_PROPERTY
- See Also:
-
JKS_KEYSTORE
-
TRUSTSTORE_PROPERTY
- See Also:
-
JKS_TRUSTSTORE
-
ADMIN_REALM
- See Also:
-
NSS_DB_PROPERTY
- See Also:
-
NSS_DB_PASSWORD_PROPERTY
- See Also:
-
CLIENT_TRUSTSTORE_PROPERTY
- See Also:
-
CLIENT_TRUSTSTORE_PASSWORD_PROPERTY
- See Also:
-
PID_FILE
- See Also:
-
REF_TS_FILE
- See Also:
-
KILLSERV_SCRIPT
- See Also:
-
KILL_SERV_UNIX
- See Also:
-
KILL_SERV_WIN
- See Also:
-
KILL_SERV_OS
-
DAS_SERVER_NAME
- See Also:
-
DEFAULT_SERVER_INSTANCE_NAME
Deprecated.- See Also:
-
DAS_SERVER_CONFIG
- See Also:
-
JDMK_HOME_PROPERTY
- See Also:
-
DERBY_ROOT_PROPERTY
- See Also:
-
MFWK_HOME_PROPERTY
Java ES Monitoring Framework install directory- See Also:
-
DOMAIN_NAME
name of the domain key- See Also:
-
HOST_NAME_PROPERTY
- See Also:
-
CONFIG_NAME_PROPERTY
- See Also:
-
DOCROOT_PROPERTY
- See Also:
-
ACCESSLOG_PROPERTY
- See Also:
-
DEFAULT_SERVER_SOCKET_ADDRESS
- See Also:
-
CLUSTER_AWARE_FEATURE_FACTORY_CLASS
- See Also:
-
DROP_INTERRUPTED_COMMANDS
- See Also:
-
TEMPLATE_CONFIG_NAME
Name of the default config that determines the configuration for the instances- See Also:
-
DEFAULT_ADMIN_USER
- See Also:
-
DEFAULT_ADMIN_PASSWORD
- See Also:
-
DEFAULT_ADMIN_TIMEOUT_PROPERTY
- See Also:
-
PREFER_ENV_VARS_OVER_PROPERTIES
- See Also:
-
OPEN
- See Also:
-
CLOSE
- See Also:
-
-
Constructor Details
-
SystemPropertyConstants
public SystemPropertyConstants()
-
-
Method Details
-
getPropertyAsValue
A method that returns the passed String as a property that can be replaced at run time.- Parameters:
name- String that represents a property, e.g INSTANCE_ROOT_PROPERTY in this class. The String may not be null.- Returns:
- a String that represents the replaceable value of passed String. Generally speaking it will be decorated with a pair of braces with $ in the front (e.g. "a" will be returned as "${a}").
- Throws:
IllegalArgumentException- if the passed String is null
-
unSystemProperty
Returns the string removing the "system-property syntax" from it. If the given string is not in "system-property syntax" the same string is returned. The "system-propery syntax" is "${...}" The given String may not be null. The returned String may be an empty String, if it is of the form "${}" (rarely so). -
isSystemPropertySyntax
-
getDocRootDefaultValue
Returns the default value (as would appear in the domain.xml on installation) of docroot of a virtual server, as a String. Never returns a null. Returned String contains no backslashes. Note that it is not the absolute value of the path on a file system. -
getAccessLogDefaultValue
Returns the default value (as would appear in the domain.xml on installation) of file where the acess log of a virtual server is stored, as a String. Never returns a null. Returned String contains no backslashes. Note that it is not the absolute value of the path on a file system. -
getAsAdminScriptLocation
Returns the system specific file.separator delimited path to the asadmin script. Any changes to file layout should be reflected here. The path will contain '/' as the separator character, regardless of operating platform. Never returns a null. Assumes the the property "INSTALL_ROOT_PROPERTY" is set in the VM before calling this. As of now (September 2005) all the server instances and asadmin VM itself has this property set. The method does not guarantee that the script exists on the given system. It should only be used when caller wants to know the location of the script. Caller should make sure it exists.- Returns:
- String representing the Path to asadmin script. Might return a string beginning with "null", if the INSTALL_ROOT_PROPERTY is not defined
-
getAsAdminScriptLocation
-
getAdminScriptLocation
-
getComponentName
Returns the component identifier associated with the INSTALL_ROOT. For example if INSTALL_ROOT is /home/glassfish7/glassfish the component name will "glassfish".- Returns:
- String representing the component identifier.
-
getDefaultAdminTimeout
Returns the default timeout in milliseconds used in some Admin commands.- Returns:
- The value of the system property
DEFAULT_ADMIN_TIMEOUT_PROPERTYor the valueDEFAULT_ADMIN_TIMEOUT_VALUEif the system property not set.
-