[jboss-dev-forums] [Design of JBossCache] - Re: JBCACHE-1025: JBossCache mbean registration fails on Web
JerryGauth
do-not-reply at jboss.com
Wed Apr 18 12:37:42 EDT 2007
I've looked at preregistration and see that I can invoke TreeeCache.preregister() to preregister an mbean for which no JBoss service exists. Maybe this is something that should occur in MBeanConfigurator to ensure that any preregistration code is executed? Preregistration isn't necessary to obtain the actual object name used by the server since this can be obtain from the ObjectInstance returned by server.register().
I think the larger issue is that we need to store all of the actual registration names (for the cache and its interceptors) so that they can be used when checking for the existence of an mbean before registering it. I assume that deregistration requires the actual name as well.
Bottom line - I think we need to store a registration name map in cache
and provide a getter/setter so that the MBeanConfigurator methods can access it. Exposing the cache's object name is insufficient since it can't be used to derive the interceptors' object names on WebSphere.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038516#4038516
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038516
More information about the jboss-dev-forums
mailing list