tags:

views:

21

answers:

1
+1  Q: 

Glassfish hooks

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
Thank you very much.
Hypnus
Do you know if there are any for domain startup or shutdown ?
Hypnus
Glassfish is started/stopped per-domain. There is no "global" start/stop, only domain start/stop.
ewernli
Yap, thanks, that was a stupid question... i did not think enough about that part. :D
Hypnus