Unregister the cache MBean on stop
----------------------------------
Key: ISPN-10795
URL:
https://issues.jboss.org/browse/ISPN-10795
Project: Infinispan
Issue Type: Enhancement
Reporter: Nistor Adrian
Assignee: Nistor Adrian
Priority: Major
Fix For: 10.0.0.Final
All other cache components are unregistered on stop except the cache itself, which only
gets really unregistered on remove.
Historically, this was done this way in order to allow cache restart via jmx. But we have
other options now: rest, cli, or even DefaultCacheManager.startCache(name) via jmx.