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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...