title: global properties in spring
body: <p>is it possible to define in a spring context file, and one or more properties that
  can be accessed in &lt;bean> elements.  </p>
  
  <p>The example below illustrates best what I need - I want to define the property FOO once and then reference it multiple times in my various &lt;bean> definitions: </p>
  
  <pre><code>&lt;beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="
        http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"&gt;
    &lt;properties&gt;
      &lt;property name="FOO" value="BAR"&gt;
    &lt;/properties&gt;
  
    &lt;bean name="TEST" class="mytest"&gt;
      &lt;property name="MYFOO" value="${FOO}"/&gt;
    &lt;/bean&gt;
    &lt;bean name="TEST1" class="mytest1"&gt;
      &lt;property name="MYFOO" value="${FOO}"/&gt;
    &lt;/bean&gt;
  
  &lt;/beans&gt;
  </code></pre>
  
  <p>Any input would be much appreciated.<br>
  Thanks, Kevin.</p>