[jboss-user] [Microcontainer] - Beans loading with Microcontainer in JBoss AS
do-not-reply at jboss.com
Mon Jan 8 16:38:50 EST 2007
I have ear with mcp.beans in with jboss-beans.xml:
<?xml version="1.0" encoding="UTF-8"?>
xsi:schemaLocation="urn:jboss:bean-deployer bean-deployer_1_0.xsd" xmlns="urn:jboss:bean-deployer">
I wanted get my beans defined in xml to use them in stateless beans.
I tried first approach in http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMicrocontainerFAQ implementing KernelControllerContextAware at ActionFactory. I am wondering how should I instantiate ActionFactory? Just new ActionFactory() doesn't affect calling setKernelControllerContext so I get controller uninitialized.
It seems I missed something. Please help what should I do.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999210#3999210
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999210
More information about the jboss-user