@Bean
@SuppressWarnings({ "rawtypes", "serial", "unchecked" })
public static CustomAutowireConfigurer customAutowireConfigurer() {
CustomAutowireConfigurer cac = new CustomAutowireConfigurer();
cac.setCustomQualifierTypes(new HashSet() {{ add(ComponentScanParserTests.CustomAnnotation.class); }});
return cac;
}
java类org.springframework.beans.factory.annotation.CustomAutowireConfigurer的实例源码
ComponentScanAnnotationIntegrationTests.java 文件源码
项目:spring4-understanding
阅读 21
收藏 0
点赞 0
评论 0
ComponentScanAnnotationIntegrationTests.java 文件源码
项目:class-guard
阅读 22
收藏 0
点赞 0
评论 0
@Bean
@SuppressWarnings({ "rawtypes", "serial", "unchecked" })
public static CustomAutowireConfigurer customAutowireConfigurer() {
CustomAutowireConfigurer cac = new CustomAutowireConfigurer();
cac.setCustomQualifierTypes(new HashSet() {{ add(ComponentScanParserTests.CustomAnnotation.class); }});
return cac;
}