Spring Destruction callbacks

Tutorials Shared by the Internet Community

Advertisements

  Top Tutorials     New Tutorials     Submit     Login     Register  

Tutorial Detail

Spring Destruction callbacks

Spring Destruction callbacks
http://www.javatutorialscorner.com/2014/03/spring-destruction-callbacks.html
  • Total Hits: 4966

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating

  •  

  • Total Votes: 4 votes

  • Category: JAVA/Spring

  • Submitted on: 2014-03-22 10:40:36

  • Submitted By: Appu T

  • Set as Favorite

Description:

In this tutorial we are going to see about Spring Life cycle Destruction callbacks with example program. Implementing the org.springframework.beans.factory.DisposableBean interface allows a bean to get a callback when the container containing it is destroyed. The DisposableBean interface specifies a single method: void destroy() throws Exception; It is recommended that you do not use the DisposableBean callback interface because it unnecessarily couples the code to Spring. Alternatively, use the @PreDestroy annotation - See more at: http://www.javatutorialscorner.com/search/label/Spring    More detail...

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 25%  1
 Two starsTwo star  Vote LeftVote MiddleVote Right 25%  1
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 25%  1
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 25%  1
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 0%  0

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.






Advertisements