摘要: 开发中会经常使用包扫描,只要标注了@Controller、@Service、@Repository,@Component 注解的类会自动加入到容器中,ComponentScan有注解和xml配置两种方式。 注解 @ComponentScan 包含过滤和排除过滤 ComponentScan.Filte 阅读全文
posted @ 2019-06-18 02:51 kosamino 阅读(8153) 评论(0) 推荐(1) 编辑