what is the appropriate way to intercept the server shutdown and execute
some "before-stop" business logic?
I saw https://issues.jboss.org/browse/WFLY-407
. Is my assumption correct
that in EAP6.2 there is no common hook available for a soft server
shutdown (kill) and a managed shutdown (e.g. via CLI)?
In EAP4.3 we just needed to listen for "org.jboss.system.server.stopped"
notification sent by the shutdown hook.
Thanks a lot for the input,