Spring Initialization Callbacks

Tutorials Shared by the Internet Community

Advertisements


Synopsis

Spring Initialization Callbacks-Java Tutorials Corner

Statistics

  • Total Hits - 8860

  • Total Votes - 21 votes

  • Vote Up - 12 votes

  • Vote Down - 9 votes

  • Domain - www.javatutorialcorner.com

  • Category - JAVA/Spring

  • Submitted By - Appu T

  • Submitted on - 2014-03-22 10:41:46

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 ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements