com.ibm.websphere.kernel.server

Interface ServerInfoMBean

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String OBJECT_NAME
      A String representing the javax.management.ObjectName that this MBean maps to.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getDefaultHostname()
      Answers with the server's default hostname.
      java.lang.String getInstallDirectory()
      Answers with the server's wlp install directory.
      java.lang.String getName()
      Answers with the server's name.
      java.lang.String getUserDirectory()
      Answers with the server's user directory.
    • Field Detail

      • OBJECT_NAME

        static final java.lang.String OBJECT_NAME
        A String representing the javax.management.ObjectName that this MBean maps to.
        See Also:
        Constant Field Values
    • Method Detail

      • getDefaultHostname

        java.lang.String getDefaultHostname()
        Answers with the server's default hostname.

        The default hostname is specified by the variable ${defaultHostName}. The value of the hostname is always returned in lower case.

        For example, if defaultHostName is defined in the server.xml: <variable name="defaultHostName" value="myHost"/> The return value would be 'myhost'.

        Returns:
        The server's default hostname, in lower case.
      • getUserDirectory

        java.lang.String getUserDirectory()
        Answers with the server's user directory.
        Returns:
        The server's user directory.
      • getInstallDirectory

        java.lang.String getInstallDirectory()
        Answers with the server's wlp install directory.
        Returns:
        The server's wlp install directory.
      • getName

        java.lang.String getName()
        Answers with the server's name.
        Returns:
        The server's name.