Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] Capturing shutdown

 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Valentin Crettaz wrote:
> Have you tried investigating
> java.lang.Runtime.addShutdownHook(java.lang.Thread)
> http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html#addSh
> utdownHook(java.lang.Thread)  

Yes, I have. Thanks for the hint. However I would really prefer a
pure AspectJ solution, since shutdown hooks are not 100% reliable
AFAIK.

Eric

- -- 
Eric Bodden
Chair I2 for Programming Languages and Program Analysis
RWTH Aachen University

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.3

iQA/AwUBQp8iHcwiFCm7RlWCEQKeDwCfdVhedR6wJ8e+Yy4rPXxnevzZJzoAoLPQ
eGfUn66JQg6LypcKmnp3DFB8
=5LJg
-----END PGP SIGNATURE-----




Back to the top