摘要: Spring 注解方式生命周期方法。 Spring 支持多种方式的 Bean 生命周期管理,比如 可以在 Config 类中 通过在方法标记注解 @Bean(initMethod = "init",destroyMethod = "destory")方式。本文主要讲述使用 @PostConstruc 阅读全文
posted @ 2020-02-07 18:46 KennyWang0314 阅读(409) 评论(0) 推荐(0) 编辑