[jboss-user] [Microcontainer] - Re: Acessing Microcontainer Beans in Servlet
alesj
do-not-reply at jboss.com
Thu Mar 29 04:36:23 EDT 2007
"obelix1998" wrote :
| So if you could provide a code example how to get this controller, I'd appreciate it very much.
| protected Kernel bootstrap() throws Throwable
| {
| BasicBootstrap bootstrap = new BasicBootstrap();
| bootstrap.run();
| return bootstrap.getKernel();
| }
|
| Kernel kernel = bootstrap();
| KernelController controller = kernel.getController();
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032658#4032658
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032658
More information about the jboss-user
mailing list