返回顶部

摘要: springboot启动前执行方法的3种方式:实现BeanPostProcessor接口、实现InitializingBean接口、使用@PostConstruct注解 示例: 第一种 实现BeanPostProcessor接口 第二种 实现InitializingBean接口 第三种 使用@Pos 阅读全文
posted @ 2019-12-07 11:48 雨山木风 阅读(4541) 评论(0) 推荐(0)