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

Mircea Markus mircea.markus at jboss.com
Thu Sep 10 10:28:57 EDT 2009


Sorry for the late answer.
This makes perfect sense to me. Let me know if you want me to do the  
fix.
On Sep 8, 2009, at 6:50 PM, Galder Zamarreno wrote:

> 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