Spring Initialization Callbacks
Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 7841
Total Votes: 15 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.javatutorialcorner.com/search/label/Spring More detail...