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
javax.management.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 |
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
javax.management.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()