Class SystemPropertyConstants

java.lang.Object
com.sun.enterprise.util.SystemPropertyConstants

public class SystemPropertyConstants extends Object
  • Field Details

  • Constructor Details

    • SystemPropertyConstants

      public SystemPropertyConstants()
  • Method Details

    • getAsAdminScriptLocation

      public static final String 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

      public static final String getAsAdminScriptLocation(String installRoot)
    • getAdminScriptLocation

      public static final String getAdminScriptLocation(String installRoot)
    • getComponentName

      public static final String getComponentName()
      invalid input: '<'invalid input: '<'invalid input: '<'invalid input: '<'invalid input: '<'invalid input: '<'invalid input: '<' HEAD Returns the component identifier associated with the INSTALL_ROOT. For example if INSTALL_ROOT is /home/glassfish8/glassfish the component name will "glassfish".
      Returns:
      String representing the component identifier.
    • getDefaultAdminTimeout

      public static final Integer getDefaultAdminTimeout()
      ======= >>>>>>> refs/remotes/origin/master Returns the default timeout in milliseconds used in some Admin commands.
      Returns:
      The value of the system property DEFAULT_ADMIN_TIMEOUT_PROPERTY or the value DEFAULT_ADMIN_TIMEOUT_VALUE if the system property not set.