[infinispan-dev] ISPN-118 - DefaultCacheManager already marked as MBean

Manik Surtani manik at jboss.org
Mon Jul 27 07:18:55 EDT 2009


Yes, JMX should be for reporting only.  Not as a registry to obtain a  
component instance.

Operations like starting and stopping a cache should be exposed  
though, perhaps via a Cache MBean (by annotating CacheDelegate?)


On 24 Jul 2009, at 09:55, Galder Zamarreno wrote:

> Hi,
>
> Re: https://jira.jboss.org/jira/browse/ISPN-118
>
> It turns out that since rev.454, DefaultCacheManager has already been
> marked as an MBean
> (http://fisheye.jboss.org/browse/Infinispan/trunk/core/src/main/java/org/infinispan/manager/DefaultCacheManager.java?r=454 
> )
>
> Currently, none of the getCache() methods are marked as MBean  
> operations
> and I wanted to get confirmation on whether it should leave as it  
> is. I
> mean, in AS6, I suppose people will be able to use the JNDI method to
> get access to the CacheManager and get the cache from there
> (http://tinyurl.com/lq688t section 11.2). Anyone running standalone  
> can
> simply instantiate the cache manager.
>
> Thoughts?
> -- 
> Galder Zamarreño
> Sr. Software Engineer
> Infinispan, JBoss Cache
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org








More information about the infinispan-dev mailing list