Glass Fish Hooks

Does Glassfish have any hooks for starting and shutting down and for starting / stopping a domain?

+3
source share
2 answers

Yes, they are called Lifecycle Listener and are specific to Glassfish.

Supported events: INIT_EVENT, STARTUP_EVENT, READY_EVENT, SHUTDOWN_EVENT, or TERMINATION_EVENT.

+4
source

For those who are still looking at this now, this may also help: http://blogs.oracle.com/alexismp/entry/startup_and_shutdown_events_with

+1
source

Source: https://habr.com/ru/post/1730035/


All Articles