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/i...
)
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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Manik Surtani
manik(a)jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org