This content has been marked as final.
Show 2 replies
-
1. Re: injecting the Kernel
adrian.brock Apr 1, 2005 3:53 PM (in response to bill.burke)You can already do this. The current names of the kernel objects in the registry
can be found in (I named after the jmx patterns):
org.jboss.kernel.plugins.bootstrap.basic.KernelConstants -
2. Re: injecting the Kernel
adrian.brock Apr 1, 2005 3:55 PM (in response to bill.burke)In fact, it should do it automatically based on Monomorphism.
i.e. Only one class in the registry implements
org.jboss.kernel.Kernel
so it would just be a case of doing:@Inject // Uses monomorphic injection - no need for the name public void setKernel(Kernel kernel)