[jboss-user] [Microcontainer] - Programmatically deploying an object

mwringe do-not-reply at jboss.com
Wed May 6 10:32:19 EDT 2009


I have a webapp and when a listener gets called I want to deploy an object into the microcontainer . The listener is being handled in the webapplication, so I can't just add it to the beans.xml file and it doesn't have a direct reference to the mircocontainer kernel.

Is there some sort of preferred method to programmatically deploy an object into a microcontainer in this situation?

If not, I can always just write a custom pojo factory to handle it. I am just trying to see if there is already a preferred solution for this.




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

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



More information about the jboss-user mailing list