posted 11 years ago
I have standalone application , using spring ioc in that app.
This app is executed using command prompt. When user press ctrl+c or close the command prompt, I have to add shutdown hook.
So that i can call my customised bean method.
Is it possible to achieve this functionality using spring 2.0.
while searching I got following method which is called as
but how method mentioned above will call my method.
I've to use spring 2.0 only.