|
|
Auth |
JMX Tutorial Trail at java.sun.com -- JMX 1.4 specification -- JMX Documentation home
Concepts:
ObjectName: domain :
key1 = value1
[ , keyn = valuen ]+
domain - a useful convention is to begin the domain name with
the reverse DNS name of the organization that specifies the MBeans, followed by a
period and a string whose interpretation is determined by that organization.
MBean interfaces:
void and whose name begins with get.
(is is also supported for methods returning boolean.)
set.
An MBean must be of a public concrete class with a public constructor if it is to be instantiated by a JMX agent on demand from a management application.
Types of MBeans:
SomethingMBean.
Something that implements that interface.
StandardMBean when the class and interface
names do not match.
SomethingMXBean
@MXBean
int or String
to remain unchanged, while complex types such as MemoryUsage get mapped to
the standard type CompositeDataSupport.
ReturnValue instance
to convert the given instance into a CompositeData instance and uses the
@ConstructorProperties annotation to reconstruct a
ReturnValue instance from a
CompositeData instance.
DynamicMBean - Attributes and operations are exposed through
method calls on this interface.
| Louis K. Thomas <louisth@hotmail.com> | Auth | 2007-04-26 (451 days ago) |