Created
January 6, 2012 18:54
-
-
Save nickman/1571900 to your computer and use it in GitHub Desktop.
Gmx Example: Iterating Local VMs And Printing MBeanServerId
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.helios.gmx.*; | |
Gmx.attachInstances(true, { | |
println it.mbean("JMImplementation:type=MBeanServerDelegate").MBeanServerId; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment