]
Nistor Adrian updated ISPN-10723:
---------------------------------
Status: Open (was: New)
JMX registration cleanup
------------------------
Key: ISPN-10723
URL:
https://issues.jboss.org/browse/ISPN-10723
Project: Infinispan
Issue Type: Bug
Components: JMX, reporting and management
Affects Versions: 10.0.0.CR1
Reporter: Nistor Adrian
Assignee: Nistor Adrian
Priority: Major
Fix For: 10.0.0.CR3
- all jmx registration should happen via
CacheManagerJmxRegistration/CacheJmxRegistration - we should not have other classes using
JmxUtil.buildJmxDomain
- there are very few legitimate direct usages of JmxUtil.lookupMBeanServer; all else
must go
- some registrations are not currently ResourceDMBeans; these need to be converted
- use of registerExternalMBean should be converted to registerMBean
- avoid performing the unregistration manually. Components registered with registerMBean
will be unregistered automatically