MBeanServer server = createMBeanServer();
SimpleMXBeanSupport support = new SimpleMXBeanSupport();
ObjectName objectName = SimpleMXBeanSupportMXBean.REGISTERED_OBJECT_NAME;
server.registerMBean(support, objectName);
SimpleMXBeanSupportMXBean proxy = MXBeanFactory.makeProxy(server, objectName, SimpleMXBeanSupportMXBean.class);
assertEquals("olleH", proxy.echoReverse("Hello"));
}
public void testGetCompositeAttributes() throws Exception
{
MBeanServer server = createMBeanServer();