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

wolfc do-not-reply at jboss.com
Mon Oct 1 10:48:41 EDT 2007


An idea might be to implement Java EL in the annotation handling.

Then the code would look like:
@Spring(jndiName="${jndi:lookup('java:comp/env/beanFactoryName')}",bean="manager")
  | private Manager manager;

MC should keep a list of possible functions somewhere in xml.

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

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



More information about the jboss-user mailing list