Spring Initialization Callbacks
Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 5110
Total Votes: 9 votes
Submitted on: 2014-03-22 10:41:46
Submitted By: Appu T
Description:In this tutorial we are going to see Spring Life cycle - Initialization callbacks (init(),InitializingBean ) with example program. The org.springframework.beans.factory.InitializingBean interface allows a bean to perform initialization work after all necessary properties on the bean have been set by the container. The InitializingBean interface specifies a single method: void afterPropertiesSet() throws Exception; It is recommended that you do not use the InitializingBean interface because it unnecessarily couples the code to Spring. - See more at: http://www.javatutorialscorner.com/search/label/Spring More detail...