[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspectj-users] aspectJ and System.exit().
- From: Luca Ferrari <fluca1978@xxxxxxxxxxx>
- Date: Tue, 18 Dec 2007 14:26:26 +0100
- Delivered-to: firstname.lastname@example.org
- User-agent: KMail/1.9.7
On Tuesday 18 December 2007 Jean-Louis PASTUREL's cat, walking on the
> Aspect regarding, is there a means to know when a JVM is exiting on System
> signal (like Control-C or kill -9 )?
> If yes is-it possible to apply an advice ÂbeforeÂ ?
I know there's an implementation, it should be sun.misc.signal, that allows
you writing Java signal handlers, to catch signals from the outside world.
However, I'd like to discourage this since it I don't think it's portable.