PluggableMBeanServerImpl.java 文件源码

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

项目:wildfly-core 作者:
@Override
public ClassLoaderRepository getClassLoaderRepository() {
    Throwable error = null;
    MBeanServerPlugin delegate = rootMBeanServer;
    final boolean readOnly = true;
    try {
        //Special authorization
        authorizeClassloadingOperation(delegate, GET_CLASSLOADER_REPOSITORY);
        return delegate.getClassLoaderRepository();
    } catch (Exception e) {
        error = e;
        throw makeRuntimeException(e);
    } finally {
        if (shouldAuditLog(delegate, readOnly)) {
            new MBeanServerAuditLogRecordFormatter(this, error, readOnly).getClassLoaderRepository();
        }
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号