An AMX MBean Attribute is accessible in three ways:
Dotted names using MonitoringDottedNames and ConfigDottedNames
Attributes on MBeans using 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 through the command line interface are available as Attributes within a single MBean. This includes properties, which are provided as Attributes beginning with the prefix property., for example, server.property.myproperty.
Certain attributes that ought to 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}.