生命周期:
·定義:在xml中定義的
·初始化:1.實現(xiàn)initialBean接口,覆蓋afterPropeertiesSet方法2.配置init_method
·使用:
·銷毀:1.實現(xiàn)DisposableBean接口,覆蓋destroy方法2.配置destroy_method
生命周期:
·定義:在xml中定義的
·初始化:1.實現(xiàn)initialBean接口,覆蓋afterPropeertiesSet方法2.配置init_method
·使用:
·銷毀:1.實現(xiàn)DisposableBean接口,覆蓋destroy方法2.配置destroy_method
2014-10-27
舉報