- All Implemented Interfaces:
Serializable,Comparable<GlassFishVariable>,Constable
GlassFish variables used as environment options or system properties and their mapping.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDirectory with asenv.conf,INSTALL_ROOT/configDerby database main directory, containing lib directory with jar files.Directory where we have domainsAutodetected host name.JMS Message Broker bin directoryJMS Message Broker lib directoryWhich installation root the GlassFish should run with.Instance directoryJava home directory set by JVM automatically viajava.homeor via JAVA_HOME by user.Java home set by AS_JAVA, has higher priority than JAVA_HOME.File containing the private key and server certificates.Deprecated, for removal: This API element is subject to removal in a future version.It is not safe to set passwords as system properties.JKS/JCEKS/PKCS12/...Node agents directoryOSGi implementation selector.Install root parent, resolved fromINSTANCE_ROOT.Default start server timeout in secondsDefault stop server timeout in secondsFile containing server certificate chainsDeprecated, for removal: This API element is subject to removal in a future version.It is not safe to set passwords as system properties.JKS/JCEKS/PKCS12/... -
Method Summary
Modifier and TypeMethodDescriptionThe map contains pairs ofgetEnvName()andgetSystemPropertyName().static GlassFishVariableReturns the enum constant of this class with the specified name.static GlassFishVariable[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONFIG_ROOT
Directory with asenv.conf,INSTALL_ROOT/config -
DERBY_ROOT
Derby database main directory, containing lib directory with jar files. -
DOMAINS_ROOT
Directory where we have domains -
HOST_NAME
Autodetected host name. -
JAVA_HOME
Java home directory set by JVM automatically viajava.homeor via JAVA_HOME by user. -
JAVA_ROOT
Java home set by AS_JAVA, has higher priority than JAVA_HOME. -
OSGI_PLATFORM
OSGi implementation selector. -
IMQ_BIN
JMS Message Broker bin directory -
IMQ_LIB
JMS Message Broker lib directory -
INSTALL_ROOT
Which installation root the GlassFish should run with. Usuallyglassfish[x]/glassfish -
INSTANCE_ROOT
Instance directory -
NODES_ROOT
Node agents directory -
PRODUCT_ROOT
Install root parent, resolved fromINSTANCE_ROOT. -
KEYSTORE_FILE
File containing the private key and server certificates. This file must be perfectly protected and must not leave the server. -
KEYSTORE_TYPE
JKS/JCEKS/PKCS12/... -
KEYSTORE_PASSWORD
Deprecated, for removal: This API element is subject to removal in a future version.It is not safe to set passwords as system properties.Password for file containing the private key and server certificates. -
TRUSTSTORE_FILE
File containing server certificate chains -
TRUSTSTORE_TYPE
JKS/JCEKS/PKCS12/... -
TRUSTSTORE_PASSWORD
@Deprecated(since="7.1.0", forRemoval=true) public static final GlassFishVariable TRUSTSTORE_PASSWORDDeprecated, for removal: This API element is subject to removal in a future version.It is not safe to set passwords as system properties.Password for the file containing server certificate chains -
TIMEOUT_START_SERVER
Default start server timeout in seconds -
TIMEOUT_STOP_SERVER
Default stop server timeout in seconds
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getEnvName
- Returns:
- name used when configuring GlassFish from the operating system side or asenv.conf.
-
toExpression
- Returns:
${, for example:getPropertyName()}${com.sun.aas.installRoot}
-
getPropertyName
- Returns:
- name used when configuring GlassFish using properties; this name is same as for
getSystemPropertyName().
-
getSystemPropertyName
- Returns:
- name used when configuring GlassFish using
System.getProperties().
-
getEnvToSystemPropertyMapping
The map contains pairs ofgetEnvName()andgetSystemPropertyName(). When thegetEnvName()returns null, the mapping is not included.- Returns:
- a mapping of environment variable names to system property names.
-