摘要: ——————————————————————————————————————— 一、注册bean有两种手段 在类上加@Component、@Service、@Controller、@Repository等注解,作为可以被@Autowired注入的实例化对象; 在类上加@Configuration,方 阅读全文
posted @ 2020-10-09 11:36 双飞客· 阅读(231) 评论(0) 推荐(0) 编辑