This content has been marked as final.
Show 2 replies
-
1. Re: KernelObject.setKernel usage
adrian.brock Jul 11, 2006 8:38 AM (in response to starksm64)No. But it can implement KernelControllerContextAware
from which you can do context -> controller -> kernel
This is more like the MBeanRegistration
e.g. implemented by ServiceMBeanSupport.
Although there are plans to generalize this "experimental" interface,
it should still provide the same functionality:
http://jira.jboss.com/jira/browse/JBMICROCONT-77 -
2. Re: KernelObject.setKernel usage
adrian.brock Jul 11, 2006 8:44 AM (in response to starksm64)Another way would be to just inject it, using the name from
KernelConstants::KernelName<property name="kernel"><inject bean="jboss.kernel:service=Kernel"/></property>