[infinispan-dev] Should CacheManagerJmxRegistration.start() be associated with CacheManager.start() ?

Galder Zamarreno galder.zamarreno at redhat.com
Tue Sep 8 11:50:40 EDT 2009


Hi,

While looking https://jira.jboss.org/jira/browse/ISPN-118, I've noticed 
that CacheManagerJmxRegistration.start() only gets called when the 1st 
cache is started, not when the CacheManager is started.

Wouldn't it make more sense (for correctness more than anything else), 
that CacheManagerJmxRegistration was not registered as a component and 
instead from DCM.start(), CacheManagerJmxRegistration.init() and 
CacheManagerJmxRegistration.start() being called and from DCM.stop(), 
CacheManagerJmxRegistration.stop()

Would you forsee any problems in doing this?

Cheers
-- 
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache



More information about the infinispan-dev mailing list