@Test
public void testNickNameIsExposed() throws Exception {
ModelMBeanInfo inf = (ModelMBeanInfo) getMBeanInfo();
MBeanAttributeInfo attr = inf.getAttribute("NickName");
assertNotNull("Nick Name should not be null", attr);
assertTrue("Nick Name should be writable", attr.isWritable());
assertTrue("Nick Name should be readable", attr.isReadable());
}
MethodExclusionMBeanInfoAssemblerComboTests.java 文件源码
java
阅读 21
收藏 0
点赞 0
评论 0
项目:spring4-understanding
作者:
评论列表
文章目录