[jboss-user] [JBoss/Spring Integration] - Getting an instance of a bean from JBoss

kpalania do-not-reply at jboss.com
Tue Oct 7 12:15:09 EDT 2008


When JBoss starts up, my Spring beans get initialized. How can I get an instance of that bean at runtime though? Essentially, I need to get to the DefaultListableBeanFactory and do a getBean() but I am a little unclear about what the best way to do that is. Thanks.

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

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



More information about the jboss-user mailing list