This issue notes that HAServiceMBeanSupport should use the kernel bean name as a default
name if getServiceHAName() can't locate a name using the existing methods.
It looks like this can easily be accomplished by having the class implement
KernelControllerContextAware and then obtaining the name in the setKernelControllerContext
callback.
Is this what is intended by this issue or is there another way to accomplish this (besides
injecting the kernel, which requires clients to perform an additional configuration
step)?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066769#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...