Introduction to Groovy JMX and GroovyMBean
masterThe groovy-jmx module provides the GroovyMBean class, which allows Java Management Extensions (JMX) Managed Beans (MBeans) to be treated like standard Groovy objects. This simplifies interacting with MBeans using Groovy syntax.
Note for JDK 9+: JMX classes are split across java.management (core) and java.management.rmi (RMI connector). If running on the module path, you must add requires java.management.rmi for remote connectivity. On JDK 17+, remote connections may require configuring the jmx.remote.rmi.server.serial.filter.pattern due to stricter security.