attribute.setGetMethod("getInterval");
attribute.setSetMethod("setInterval");
attribute.setDescription("The interval in milliseconds between checks of VM memory and threads");
attribute.setName("Interval");
attribute.setType("int");
xmbean.addAttribute(attribute);
XMBeanOperationMetaData operation = new XMBeanOperationMetaData();
operation.setDescription("Access the last HistoryLength monitor reports");
operation.setName("history");
operation.setReturnType("java.lang.String");