|
|
|
@ -1339,7 +1339,7 @@ public class ExampleBean { |
|
|
|
|
url="http://www.springsource.com/products/sts">SpringSource Tool |
|
|
|
|
Suite</ulink> (STS) that support automatic property completion when |
|
|
|
|
defining bean definitions. The use of such IDE assistance is highly |
|
|
|
|
recommended. </para> |
|
|
|
|
recommended.</para> |
|
|
|
|
|
|
|
|
|
<para>If you are reading this reference manual straight through from |
|
|
|
|
top to bottom (wow!) then we are getting slightly ahead of ourselves |
|
|
|
@ -1559,18 +1559,8 @@ public class ExampleBean { |
|
|
|
|
<lineannotation><!-- results in a setSomeMap(<interfacename>java.util.Map</interfacename>) call --></lineannotation> |
|
|
|
|
<property name="someMap"> |
|
|
|
|
<map> |
|
|
|
|
<entry> |
|
|
|
|
<key> |
|
|
|
|
<value>an entry</value> |
|
|
|
|
</key> |
|
|
|
|
<value>just some string</value> |
|
|
|
|
</entry> |
|
|
|
|
<entry> |
|
|
|
|
<key> |
|
|
|
|
<value>a ref</value> |
|
|
|
|
</key> |
|
|
|
|
<ref bean="myDataSource" /> |
|
|
|
|
</entry> |
|
|
|
|
<entry key="an entry" value="just some string"/> |
|
|
|
|
<entry key ="a ref" value-ref="myDataSource"/> |
|
|
|
|
</map> |
|
|
|
|
</property> |
|
|
|
|
<lineannotation><!-- results in a setSomeSet(java.util.Set) call --></lineannotation> |
|
|
|
@ -4231,8 +4221,7 @@ org.springframework.scripting.groovy.GroovyMessenger@272961</programlisting> |
|
|
|
|
DataSource:</para> |
|
|
|
|
|
|
|
|
|
<programlisting language="xml"><bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> |
|
|
|
|
<property name="locations"> |
|
|
|
|
<value>classpath:com/foo/jdbc.properties</value> |
|
|
|
|
<property name="locations" value="classpath:com/foo/jdbc.properties"/> |
|
|
|
|
</property> |
|
|
|
|
</bean> |
|
|
|
|
|
|
|
|
|