This short video shows how to use bean lifecycle callbacks, including the initializing bean interface, the disposable bean interface, @PostConstruct and @PreDestroy methods, and the smart lifecycle interface.
Video source: http://www.informit.com/articles/article.aspx?p=2302804
It’@PreDestroy
Thanks for seeing this mistake.