protected void addBeanNotificationListener() throws IOException {
MBeanServerNotificationFilter filter = new MBeanServerNotificationFilter();
filter.enableAllObjectNames();
try {
mBeanServer.addNotificationListener(MBeanServerDelegate.DELEGATE_NAME, this, filter, null);
} catch (InstanceNotFoundException e) {
throw new IOException(e);
}
}
ReporterAgent.java 文件源码
java
阅读 25
收藏 0
点赞 0
评论 0
项目:jmx-cloudwatch-reporter
作者:
评论列表
文章目录