The agent can be used to launch any MBean.
By default, the MBean's no-arg constructor is used.
If a list of arguments is provided, then the MBean constructor with the same number
of string parameters is used instead.
After the MBean has been registered in the agent's MBean server,
the MBean's start()
method is invoked, if it has one.
When the agent is terminated, the MBean's stop()
method is invoked,
if it has one.
java -jar agentmbean.jar <bootMBeanClassName> [args...]
For convenience, an agent.cmd
script is provided.
The idea is that the boot MBean then loads other MBeans into the JMX microkernel.