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

Wes Isberg wrote:
> A reminder to others: shutdown hooks are for VM shutdown.
> 
> If you have long-running VM but want to pick out when applications
> are stopped (and/or restarted), then AspectJ still might offer the
> best-available general solution.  

Hmmm... I am a bit confused. So is it generally possible to run
various applications on the same VM instance, so that one application
can quit, e.g. using System.exit(..) but still no shutdown hooks are
run since another application is still running on the same VM?

Cheers,
Eric

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

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

iQA/AwUBQqBIacwiFCm7RlWCEQIcSACgiqdZuiTXAk8YgsLer7TJ2cwy+NwAoKSi
lOerU0T2cD3upFCOBabaRkCA
=/rSa
-----END PGP SIGNATURE-----




Back to the top