First, all of your 3 post have been made to wrong forum.
The dev forum is not meant for user questions like this. ;-)
For this question, it depends on where you wanna access the kernel.
Provide more info with details, as the question is very general.
I need to catch the kernel reference before deployment starts (before org.jboss.kernel.plugins.deployment.AbstractKernelDeployer#deployBeans is invoked).
is that possible?
Still not enough info.
I have a code that runs not from a service or bean, it run before jboss starts to deploy applications (found in ./deploy).
I need to access jboss kernel from this code.
it means I can't use KernelControllerContextAware because a bean still not deployment.
so I wanted to know if it possible to get kernel reference in this case.