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):
In fact, it should do it automatically based on Monomorphism.
i.e. Only one class in the registry implements
so it would just be a case of doing:
@Inject // Uses monomorphic injection - no need for the name public void setKernel(Kernel kernel)