-
1. Re: How to get kernel reference outside bean/service?
alesj May 3, 2010 5:51 AM (in response to abuantar)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.
-
2. Re: How to get kernel reference outside bean/service?
abuantar May 3, 2010 6:25 AM (in response to alesj)I need to catch the kernel reference before deployment starts (before org.jboss.kernel.plugins.deployment.AbstractKernelDeployer#deployBeans is invoked).
is that possible?
-
3. Re: How to get kernel reference outside bean/service?
alesj May 3, 2010 6:38 AM (in response to abuantar)Still not enough info.
-
4. Re: How to get kernel reference outside bean/service?
abuantar May 3, 2010 6:54 AM (in response to alesj)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.
-
5. Re: How to get kernel reference outside bean/service?
alesj May 3, 2010 7:04 AM (in response to abuantar)Sounds like you're looking for a deployer:
* http://java.dzone.com/articles/jboss-microcontainer-virtual-deployment-framework