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

Galder Zamarreno galder.zamarreno at redhat.com
Thu Sep 10 11:02:57 EDT 2009



On 09/10/2009 04:28 PM, Mircea Markus wrote:
> Sorry for the late answer.

No probs :)

> This makes perfect sense to me. Let me know if you want me to do the fix.

Don't worry, I'll be doing as part of ISPN-118... thread.

> 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
>

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



More information about the infinispan-dev mailing list