extract(true, data, null, "noKnownAttribute");
}
private TabularData prepareMxMBeanMapData() throws OpenDataException, MalformedObjectNameException {
CompositeTypeAndJson ctj = new CompositeTypeAndJson(
STRING, "key", null,
OBJECTNAME, "value", null
);
TabularTypeAndJson taj = new TabularTypeAndJson(new String[]{"key"}, ctj);
TabularData data = new TabularDataSupport(taj.getType());
CompositeData cd = new CompositeDataSupport(ctj.getType(), new String[]{"key", "value"},
new Object[]{"key1", new ObjectName("test:type=bla")});
data.put(cd);
cd = new CompositeDataSupport(ctj.getType(), new String[]{"key", "value"},
new Object[]{"key2", new ObjectName("java.lang:type=Memory")});
data.put(cd);
return data;
}