[infinispan-dev] Adding getMBeanServer to AdvancedCache

Galder Zamarreno galder at redhat.com
Thu Dec 17 09:02:23 EST 2009


Hi,

For implementing the stats command in the memcached txt server, I'm 
planning to use JMX to get the relevant stats...etc. However, to make 
sure I hit the right MBeanServer, I thought of adding a getMBeanServer() 
to AdvancedCache that returns whatever MBeanServer has been used to 
register the MBeans. The MBeanServer actually comes from the 
corresponding MBeanServerLookup implementation.

Has anyone got any objections to this?
-- 
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache



More information about the infinispan-dev mailing list