]
Ryan Emerson closed ISPN-11481.
-------------------------------
Resolution: Won't Do
The shutdown hook can already be disabled by explicitly setting
{{GlobalConfiguration.CacheContainerConfiguration.ShutdownConfiguration.shutdownHook =
DONT_REGISTER}}.
Infinispan shutdownHook should not be registered in Embedded mode
-----------------------------------------------------------------
Key: ISPN-11481
URL:
https://issues.redhat.com/browse/ISPN-11481
Project: Infinispan
Issue Type: Enhancement
Components: Core
Affects Versions: 11.0.0.Alpha2
Reporter: Ryan Emerson
Priority: Major
Fix For: 11.0.0.Dev04
Currently the GlobalComponentRegistry registers a shutdown hook with the JVM, however for
Embedded mode this does not necessarily makes sense as it should be up to the consuming
application to control this behaviour. Instead, we just register this shutdown hook on the
server runtime.