[ Spring ] Bean LifeCycle
Bean Life Cycle (Initialization & Destory)
We have 3 ways to control th life-cycle of Bean.
1) @PostConstruct and @PreDestory
2) afterPropertiesSet() from interface InitializingBean
d...
原创
2012-12-27 21:50:04 ·
85 阅读 ·
0 评论