This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem calling destroy method  RSS feed

 
Hemant Thard
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

i am having difficulty understanding why destroy method is not called in my java standalone application.


i have tried using both : defining destroy-method property in my bean element and using DisposableBean bean. But this doesn't seems to work

can any one provide an explanation for this behavior.

Regards,
Hemant
 
dileep keely
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am having difficulty understanding why destroy method is not called

It means that implementation is holding some resources.
close the application context.

 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I recently replied to this kind of question at Manning's forum. Check it out.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!