Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] How to capture the end of a J2SE program

Hello guys, I must capture the end (termination) of a J2SE program without modifying it's source code. I already use aspects to log some stuff from the programs but now I also need to do some "finalize" stuff when the program is (or about to) over.

Any clue on this subject?

If there is any non-aspect solution I'd be glad to hear it too. I wish there was something like a TerminationListener on the jvm :p


Juanjo Pardo

PS: Thanks in advance ^^'

Back to the top