List of usage examples for org.springframework.jmx JmxTestBean JmxTestBean
JmxTestBean
From source file:org.springframework.jmx.export.assembler.AbstractAutodetectTests.java
public void testAutodetect() throws Exception { if (Attributes.getAttributes(JmxTestBean.class).size() == 0) { return;//from w w w.j a v a 2s . c o m } JmxTestBean bean = new JmxTestBean(); AutodetectCapableMBeanInfoAssembler assembler = getAssembler(); assertTrue("The bean should be included", assembler.includeBean(bean.getClass(), "testBean")); }