]
Brian Stansberry commented on WFCORE-1249:
------------------------------------------
[~rareddy] I believe WFCORE-1157 will be the solution for this use case.
Add "ShutdownInProgress" event to the
ServiceContainer.TerminateListener
------------------------------------------------------------------------
Key: WFCORE-1249
URL:
https://issues.jboss.org/browse/WFCORE-1249
Project: WildFly Core
Issue Type: Enhancement
Components: Server
Reporter: Ramesh Reddy
Assignee: Jason Greene
Currently the ServiceContainer.TerminateListener only notifies the listener after all the
services are down notifying that Server is completely shutdown, However, it would be
beneficial for services that are listening to event to get notified when the server is
starting the shutdown cycle and after it completes.
usecase: in Teiid we differentiate between a undeploy event because of the undeploy,
undeploy due to the shutdown to clean up cache entries, currently I see no way
differentiate between two.