I have a spring application that I run on unix by command line. Now, when I do control-c, it stops the application, but I wanna be able to hook control-c to a method that I want to execute at the time before the application stops running.
Anybody!?!? Any Clue!?!?
Will highly appreciate any kind of help on this issue!