|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CoreServerMBean
An MBean that exposes various core server global attributes (version, uptime, etc.).
| Field Summary | |
|---|---|
static ObjectName |
OBJECT_NAME
The name of this MBean when deployed. |
| Fields inherited from interface org.jboss.system.ServiceMBean |
|---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
| Method Summary | |
|---|---|
Date |
getBootTime()
Returns the time when this server started. |
String |
getBuildNumber()
Returns the build number of the core RHQ Server. |
File |
getInstallDir()
Where the RHQ Server is installed. |
File |
getJBossServerDataDir()
Where the JBoss Server Data directory is. |
File |
getJBossServerHomeDir()
Where the JBoss Server Home directory is. |
File |
getJBossServerTempDir()
Where the JBoss Server Temp directory is. |
org.rhq.core.domain.common.ProductInfo |
getProductInfo()
Product information - the product name, homepage URL, docs URL, etc. |
String |
getVersion()
Returns the version of the core RHQ server. |
| Methods inherited from interface org.jboss.system.ServiceMBean |
|---|
getName, getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
|---|
create, destroy, start, stop |
| Field Detail |
|---|
static final ObjectName OBJECT_NAME
| Method Detail |
|---|
String getVersion()
String getBuildNumber()
version may return different build numbers, depending
on the source code stream that built the server binaries.
Date getBootTime()
File getInstallDir()
File getJBossServerHomeDir()
install-dir/jbossas/server/default
File getJBossServerDataDir()
install-dir/jbossas/server/default/data
File getJBossServerTempDir()
install-dir/jbossas/server/default/tmp
org.rhq.core.domain.common.ProductInfo getProductInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||