Does Glassfish has any hooks for start and shutdown and for domain start/stop ?
+1
A:
Yes, these are called Lifecycle Listener and are Glassfish-specific.
Events that are supported are: INIT_EVENT, STARTUP_EVENT, READY_EVENT, SHUTDOWN_EVENT, or TERMINATION_EVENT
.
ewernli
2010-01-26 10:53:43
Thank you very much.
Hypnus
2010-01-26 12:36:37
Do you know if there are any for domain startup or shutdown ?
Hypnus
2010-01-26 12:46:17
Glassfish is started/stopped per-domain. There is no "global" start/stop, only domain start/stop.
ewernli
2010-01-26 12:55:19
Yap, thanks, that was a stupid question... i did not think enough about that part. :D
Hypnus
2010-01-26 13:58:34