Example code:
ClassQueryExp query=new ClassQueryExp(MyMBean.class); Set beans=mbeanserver.queryMBeans(new ObjectName("*:*"),query); The query in the above example will only return MBean ObjectInstances that are an instanceof MyMBean class.
@author Jeff Haynie
@version $Revision: 81023 $
| |