I have some JMX configuration in my server. Now when I want to get it I call this from groovy:
GroovyMBean mbean = new GroovyMBean(server, application)
mbean.invokeMethod(function,parameter)
What is equivalent of GroovyMBean in java because now I want to call this configuration from java code ?
If I understand your question correctly, this code snippet will be used in Java to connect to JMXServer.