String att=(String)methods.get(i);
// Register metadata
OperationInfo oi=new OperationInfo();
oi.setName( att );
oi.setReturnType("void");
mbean.addOperation(oi);
}
this.setModelMBeanInfo(mbean.createMBeanInfo());
MBeanServer mserver=Registry.getRegistry().getMBeanServer();