摘要: 三种bean的 初始化和销毁方法: 第一种,利用@Bean注解中自带的 initMethod()和 destroyMethod()。 package com.test; import org.springframework.context.annotation.Bean; import org.sp 阅读全文
posted @ 2018-09-07 14:49 高木子 阅读(3451) 评论(0) 推荐(0) 编辑