指定bean的初始化方法和销毁方法:
<!-- bean的初始化方法,和销毁方法的设置。 init-method="init" destroy-method="destory" -->
<bean id="personService6" class="cn.fox.service.impl.PersonServiceBean" init-method="init" destroy-method="destory"></bean>
指定bean的初始化方法和销毁方法:
<!-- bean的初始化方法,和销毁方法的设置。 init-method="init" destroy-method="destory" -->
<bean id="personService6" class="cn.fox.service.impl.PersonServiceBean" init-method="init" destroy-method="destory"></bean>