SpringBootContextLoader.java 文件源码

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

项目:https-github.com-g0t4-jenkins2-course-spring-boot 作者:
/**
 * Detect the default configuration classes for the supplied test class. By default
 * simply delegates to
 * {@link AnnotationConfigContextLoaderUtils#detectDefaultConfigurationClasses} .
 * @param declaringClass the test class that declared {@code @ContextConfiguration}
 * @return an array of default configuration classes, potentially empty but never
 * {@code null}
 * @see AnnotationConfigContextLoaderUtils
 */
protected Class<?>[] detectDefaultConfigurationClasses(Class<?> declaringClass) {
    return AnnotationConfigContextLoaderUtils
            .detectDefaultConfigurationClasses(declaringClass);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号