@Taxonomy(stability=UNCOMMITTED) @AMXMBeanMetadata(singleton=true, globalSingleton=true) public interface DomainRoot extends AMXProxy
AMXProxy
begins here.
Not all children of DomainRoot have getter method; they could be added dynamically.
The 'name' property in the ObjectName of DomainRoot is the name of the appserver domain. For example, appserver domains 'domain' and 'domain2' would have ObjectNames for DomainRoot as follows:
amx:type=DomainRoot:name=domain1 amx:type=DomainRoot:name=domain2Of course, these two MBeans would normally be found in different MBeanServers.
Modifier and Type | Field and Description |
---|---|
static String |
AMX_READY_NOTIFICATION_TYPE
Notification type for JMX Notification issued when AMX MBeans are loaded
and ready for use.
|
static String |
PARENT_PATH |
static String |
PATH |
Modifier and Type | Method and Description |
---|---|
boolean |
getAMXReady()
Poll to see if AMX is ready for use.
|
String |
getApplicationServerFullVersion() |
String |
getAppserverDomainName()
Return the name of this appserver domain.
|
BulkAccess |
getBulkAccess() |
Map<ObjectName,List<String>> |
getComplianceFailures()
Return a Map of all non-compliant MBeans (MBeans might no longer be registered).
|
String |
getConfigDir() |
String |
getDebugPort() |
AMXConfigProxy |
getDomain()
Get the DomainConfig.
|
String |
getDomainDir() |
Ext |
getExt()
Return the
Ext MBean, parent of top-level utility and specialty MBeans. |
String |
getInstallDir() |
String |
getInstanceRoot() |
AMXProxy |
getJ2EEDomain()
For module dependency reasons, the returned object must be cast to the appropriate type,
as it cannot be used here.
|
Logging |
getLogging() |
MonitoringRoot |
getMonitoringRoot() |
Pathnames |
getPathnames() |
Query |
getQueryMgr() |
RuntimeRoot |
getRuntime() |
Sample |
getSample() |
SystemInfo |
getSystemInfo() |
Tools |
getTools()
Return the
Tools MBean. |
Object[] |
getUptimeMillis()
Return the time the domain admin server has been running.
|
void |
stopDomain() |
void |
waitAMXReady()
Wait (block) until AMX is ready for use.
|
as, attributeNames, attributesMap, attributesMap, child, child, childrenMap, childrenMap, childrenMaps, childrenSet, extra, invokeOp, invokeOp, java, nameProp, objectName, parent, parentPath, path, type, valid
getChildren, getName, getParent
static final String PARENT_PATH
static final String PATH
static final String AMX_READY_NOTIFICATION_TYPE
getAMXReady()
,
Constant Field Values@ManagedOperation(impact=1) @Description(value="Stop the domain immediately") void stopDomain()
@ManagedAttribute @Description(value="Get the primary extension point for AMX MBeans other than monitoring") Ext getExt()
Ext
MBean, parent of top-level utility and specialty MBeans.@ManagedAttribute @Description(value="Get the Tools MBean") Tools getTools()
Tools
MBean.@ManagedAttribute @Description(value="Get the Query MBean") Query getQueryMgr()
Query
.@ManagedAttribute @Description(value="Get the Logging MBean") Logging getLogging()
Logging
.@ManagedAttribute @Description(value="Get the BulkAccess MBean") BulkAccess getBulkAccess()
BulkAccess
.@ManagedAttribute Pathnames getPathnames()
Pathnames
.@ManagedAttribute Sample getSample()
Sample
.@ManagedAttribute String getAppserverDomainName()
Util#getObjectName
The domain name is equivalent to the name of
the directory containing the domain configuration. This name
is not part of the configuration and can only be changed by
using a different directory to house the configuration for the
domain.@ManagedAttribute AMXProxy getJ2EEDomain()
@ManagedAttribute AMXConfigProxy getDomain()
@ManagedAttribute @Description(value="Get the root MBean of all monitoring MBeans") MonitoringRoot getMonitoringRoot()
MonitoringRoot
.@ManagedAttribute @Description(value="Get the root MBean of all runtime MBeans") RuntimeRoot getRuntime()
@ManagedAttribute SystemInfo getSystemInfo()
@ManagedAttribute boolean getAMXReady()
AMX_READY_NOTIFICATION_TYPE
. That
should be done by first registering the listener, then checking
just after registration in case the Notification was issued in the ensuing
interval just before the listener became registered.AMX_READY_NOTIFICATION_TYPE
@ManagedOperation(impact=0) void waitAMXReady()
@ManagedAttribute String getDebugPort()
@ManagedAttribute String getApplicationServerFullVersion()
@ManagedAttribute String getInstanceRoot()
@ManagedAttribute String getDomainDir()
@ManagedAttribute String getConfigDir()
getDomainDir()
@ManagedAttribute @Description(value="the installation directory") String getInstallDir()
@ManagedAttribute @Description(value="Return the time the domain admin server has been running. uptime[0] contains the time in milliseconds. uptime[1] contains a human-readable string describing the duration.") Object[] getUptimeMillis()
@ManagedAttribute @Description(value="Return a Map of all non-compliant MBeans (MBeans might no longer be registered). The List<String> contains all issues with that MBean") Map<ObjectName,List<String>> getComplianceFailures()
Copyright © 2019. All rights reserved.