[jboss-user] [JBoss/Spring Integration] - dynamic jndiName in @Spring

2007-08-02 Thread Firedragon
We need to support multiple versions of the same ear in a single JBoss instance. In our session bean, we inject a Spring bean: @Spring(jndiName="xyzBeanFactory-1.0", bean="manager") private Manager manager; This is okay as long as someone remembers to update the session bean by changing jndiNam

[jboss-user] [JBoss/Spring Integration] - customizing jndiName in @Spring

2007-08-01 Thread Firedragon
It seems that by default, if xyz-1.0-SNAPSHOT.ear is deployed, the jndiName of the "bean factory" is "xyz-1.0-SNAPSHOT". Is there an easy way to change this jndiName? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069525#4069525 Reply to the post : http://w