List of usage examples for org.springframework.jmx JmxTestBean getClass
@HotSpotIntrinsicCandidate public final native Class<?> getClass();
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 . jav a2 s . c o m*/ } JmxTestBean bean = new JmxTestBean(); AutodetectCapableMBeanInfoAssembler assembler = getAssembler(); assertTrue("The bean should be included", assembler.includeBean(bean.getClass(), "testBean")); }