An AMX MBean Attribute is accessible in three ways:
Dotted names via MonitoringDottedNames and ConfigDottedNames
Attributes on MBeans via getAttribute(s) and setAttributes(s) (from the standard JMX API)
Getters/setters within the MBean’s interface class, for example, getPort(), setPort(), and so on.
All dotted names that are accessible via the command line interface are available as Attributes within a single MBean. This includes properties, which are Attributes beginning with the prefix property., for example, server.property.myproperty.
Certain attributes that may be of a specific type, such as int, are declared as java.lang.String. This is because the value of the attribute may be a template of a form such as ${HTTP_LISTENER_PORT}.
An application or module MBean has two enabled attributes. Which enabled attribute to look up for the state of the application or module depends on the target. If the target is domain, look up the attribute under application or module itself. If the target is not domain, look up the attribute under the application-ref.
To look up an application in JConsole, select the following:
com.sun.appserv -> j2ee-application -> app-name -> server -> config
To look up a module in JConsole, select the following:
com.sun.appserv -> module-type -> module-name -> server -> config
To look up an application-ref in JConsole, select the following:
com.sun.appserv -> application-ref -> app-or-module-name -> server -> config
The attributes, including enabled, are listed under config.