replace XML usage of JndiObjectFactoryBean with <jee:jndi-lookup/>

This commit is contained in:
Mark Pollack
2009-06-19 12:22:18 +00:00
parent bf08c3ffbf
commit e3ce3306fe
5 changed files with 1792 additions and 1737 deletions

View File

@@ -198,7 +198,8 @@
<para>Destinations, like ConnectionFactories, are JMS administered
objects that can be stored and retrieved in JNDI. When configuring a
Spring application context you can use the JNDI factory class
<classname>JndiObjectFactoryBean</classname> to perform dependency
<classname>JndiObjectFactoryBean</classname> /
<literal>&lt;jee:jndi-lookup&gt;</literal> to perform dependency
injection on your object's references to JMS destinations. However,
often this strategy is cumbersome if there are a large number of
destinations in the application or if there are advanced destination