Does Glassfish have any hooks for starting and shutting down and for starting / stopping a domain?
Yes, they are called Lifecycle Listener and are specific to Glassfish.
Supported events: INIT_EVENT, STARTUP_EVENT, READY_EVENT, SHUTDOWN_EVENT, or TERMINATION_EVENT.
INIT_EVENT, STARTUP_EVENT, READY_EVENT, SHUTDOWN_EVENT, or TERMINATION_EVENT
For those who are still looking at this now, this may also help: http://blogs.oracle.com/alexismp/entry/startup_and_shutdown_events_with
Source: https://habr.com/ru/post/1730035/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1730030/python-bind-allow-multiple-keys-to-be-pressed-simultaniously&usg=ALkJrhgaoy67u3uLyJ-YDrPvv3WxWSuIuAIs JSF available as an OSGi package (Equinox)? - pluginsWhat is the meaning of the dollar symbol ($) in SciLab? - scilabHow to unit test Java code that is expected to run in the Security Manager applet - javaCan you have custom JSF components in different OSGi packages? - javaReplacing InfoWindow for Google Maps v3 - google-mapsInformix: Значение точки (.)? - sqlEditItemTemplate in gridview gridview - silverlightMySQL ++, real-time data storage - c ++Is there a more efficient method than transactions? - phpAll Articles