public interface ServerInfoMBean
The ObjectName for this MBean is "WebSphere:feature=kernel,name=ServerInfo".
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OBJECT_NAME
A String representing the
ObjectName that this MBean maps to. |
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 |
getJavaRuntimeVersion()
Answers with the version (service level) of the Java Runtime Environment (JRE), eg 1.8.0_91-b14.
|
java.lang.String |
getJavaSpecVersion()
Answers with the Java specification version as provided by the Java Runtime Environment (JRE), eg 1.8.
|
java.lang.String |
getLibertyVersion()
Answers with the product runtime version as provided by the properties file in
the
|
java.lang.String |
getName()
Answers with the server's name.
|
java.lang.String |
getUserDirectory()
Answers with the server's user directory.
|
static final java.lang.String OBJECT_NAME
ObjectName
that this MBean maps to.java.lang.String getDefaultHostname()
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'.
java.lang.String getUserDirectory()
java.lang.String getInstallDirectory()
java.lang.String getName()
java.lang.String getLibertyVersion()
java.lang.String getJavaSpecVersion()
java.lang.String getJavaRuntimeVersion()