You can access the attributes and call the operations of Java™ Management Extensions (JMX)
management beans (MBeans) on the Liberty profile. In addition, you
can register your own MBeans from an application running on the Liberty
profile.
About this task
The primary interfaces for interacting with MBeans on
the Liberty profile are as follows:
- javax.management.MBeanServer, which is for application
code running on the Liberty profile.
- javax.management.MBeanServerConnection, which
is for external code running in a separate Java virtual machine.
You can use an instance of either of these interfaces to access
the attributes and call the operations of MBeans.
Procedure