MBeanIntrospector.java 文件源码

java
阅读 29 收藏 0 点赞 0 评论 0

项目:jdk8u-jdk 作者:
/**
 * Make the MBeanInfo skeleton for the given MBean interface using
 * the given analyzer.  This will never be the MBeanInfo of any real
 * MBean (because the getClassName() must be a concrete class), but
 * its MBeanAttributeInfo[] and MBeanOperationInfo[] can be inserted
 * into such an MBeanInfo, and its Descriptor can be the basis for
 * the MBeanInfo's Descriptor.
 */
private MBeanInfo makeInterfaceMBeanInfo(Class<?> mbeanInterface,
        MBeanAnalyzer<M> analyzer) {
    final MBeanInfoMaker maker = new MBeanInfoMaker();
    analyzer.visit(maker);
    final String description =
            "Information on the management interface of the MBean";
    return maker.makeMBeanInfo(mbeanInterface, description);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号