[jboss-user] [Microcontainer] - Getting Kernel as null ......

vickyk do-not-reply at jboss.com
Thu Sep 14 06:27:04 EDT 2006


  | StandaloneBootstrap iocHook = new StandaloneBootstrap(ar);
  | 	iocHook.main(ar);
  | 	//icoHook.run();
  | 	Kernel kernel = iocHook.getKernel();
  | 	System.out.println("Kernel is "+kernel);
  | 

Why do I get the kernel as null ?
I have jboss-beans.xml in the classpath it loads the bean which is defined in that , actaully I was wonderitng if I can get the bean back from the KernelRegistry .
But before exploring more API's I got kenel as null ....

What am I missing ?

Regards
Vicky


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971522#3971522

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971522



More information about the jboss-user mailing list