Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem calling destroy method

 
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: 108
  • 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