摘要: 在配置bean实例时,xml中设置init和destroy方法: <bean class="com.test.Demo" init-method="init" destroy-method="destroy"/> public class Demo{ public void init() { Sys 阅读全文
posted @ 2021-03-29 13:57 Dream's 阅读(99) 评论(0) 推荐(0) 编辑