摘要:
Spring ApplicationListenner 是事件机制的一部分,与ApplicationEvent抽象类结合完成ApplicationContext的事件 ContextRefreshedEvent事件监听 以Spring的内置事件ContextRefreshedEvent为例,当App 阅读全文
posted @ 2021-04-09 10:50
dousil
阅读(329)
评论(0)
推荐(0)
摘要:
感谢作者:https://blog.csdn.net/weixin_42465125/article/details/88560320 1. 与@PostConstruct 相对应的是@PreDestroy 。 在spring 中,构造器Constructor,@Autowired,@Postcon 阅读全文
posted @ 2021-04-09 10:34
dousil
阅读(441)
评论(0)
推荐(0)
浙公网安备 33010602011771号