[jboss-dev-forums] [Design of JBossCache] - Remove Configuration.serviceName

bstansberry@jboss.com do-not-reply at jboss.com
Thu May 10 14:05:41 EDT 2007


The Configuration class has a "serviceName" property that I can't find a good use for.  I'd like to get rid of it as it leaks JMX concerns into the core code.

CacheMgmtInterceptor was using it to figure out a value to add a data to a Notification.  With JBCACHE-855 that's no longer the case.

JmxUtil has some static methods that try to use the value to figure out an ObjectName. I don't think that's valid; any code (e.g. xxxJmxWrapper) that's doing a registration should know it's own ObjectName from MBeanRegistration. So, I'll clean that up.

Any objections?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044768#4044768

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044768



More information about the jboss-dev-forums mailing list