[jboss-user] [JBoss/Spring Integration] - Re: Accessing app_1's spring beans in app_2's config file

gumnaam do-not-reply at jboss.com
Wed Mar 12 12:13:30 EDT 2008


OK here's an alternate approach that worked for me.

Simply extend the ContextLoader and override the loadParentContext method.
In the load parentContext method, look up the root context from JNDI and retrun it.

No need to have any more classes, no need to add description elements to any spring xml file.

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

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



More information about the jboss-user mailing list