Like I already written - when a bean is installed, register it into mbeanserver or jndi,
and then pull it out in servlet.
Or you can always do a singleton approach - with setting underyling Kernel to static
field, and accessing it later.
This is how JBossWS is doing it - look for KernelLocator.
As you could see, there is no binding layer yet on top of MC that would make things easier
- but this is what JBoss Seam is about. We are looking into providing Seam +
Microcontainer integration.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034443#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...