Package com.ibm.websphere.kernel.server
Interface ServerInfoMBean
public interface ServerInfoMBean
The ServerInfoMBean represents information about the server.
 
The ObjectName for this MBean is "WebSphere:feature=kernel,name=ServerInfo".
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringA String representing theObjectNamethat this MBean maps to.
- 
Method SummaryModifier and TypeMethodDescriptionAnswers with the server's default hostname.Answers with the server's wlp install directory.Answers with the version (service level) of the Java Runtime Environment (JRE), eg 1.8.0_91-b14.Answers with the Java specification version as provided by the Java Runtime Environment (JRE), eg 1.8.Answers with the product runtime version as provided by the properties file in the/lib/versions directory, eg 16.0.0.2. getName()Answers with the server's name.Answers with the server's user directory.
- 
Field Details- 
OBJECT_NAMEA String representing theObjectNamethat this MBean maps to.- See Also:
 
 
- 
- 
Method Details- 
getDefaultHostnameString 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.
 
- 
getUserDirectoryString getUserDirectory()Answers with the server's user directory.- Returns:
- The server's user directory.
 
- 
getInstallDirectoryString getInstallDirectory()Answers with the server's wlp install directory.- Returns:
- The server's wlp install directory.
 
- 
getNameString getName()Answers with the server's name.- Returns:
- The server's name.
 
- 
getLibertyVersionString getLibertyVersion()Answers with the product runtime version as provided by the properties file in the/lib/versions directory, eg 16.0.0.2. - Returns:
- The runtime version.
 
- 
getJavaSpecVersionString getJavaSpecVersion()Answers with the Java specification version as provided by the Java Runtime Environment (JRE), eg 1.8.- Returns:
- The Java specification version.
 
- 
getJavaRuntimeVersionString getJavaRuntimeVersion()Answers with the version (service level) of the Java Runtime Environment (JRE), eg 1.8.0_91-b14.- Returns:
- The service level of the JRE.
 
 
-