Re: the lifecycle, see
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=103608 for possibly
relevant discussion.
You don't want to invoke preRegister(). That's the responsibility of the JMX
server.
Re: maintaining a map of names, will this or something along these lines avoid that need?
| if (registerCache)
| {
| ObjectName tmpObj = new ObjectName(tmpName);
| if (!server.isRegistered(tmpObj))
| server.registerMBean(cache, tmpObj);
|
| // ADDED: Use whatever name the cache is registered under as the
| // base for the interceptor names
| tmpName = cache.getServiceName().getCanonicalName();
| }
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038531#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...