title: How does util:list behave with scope="prototype"?
body: <p>If I use the following Spring XML config, what will be the result if I assign the resulting bean to multiple properties?</p>
  
  <pre><code>&lt;util:list id="myBeanId" scope="prototype"&gt;
    &lt;bean class="com.mypackage.MyTestBeanClass1" /&gt;
    &lt;bean class="com.mypackage.MyTestBeanClass2" /&gt;
  &lt;/util:list&gt;
  </code></pre>
  
  <p>As far as I can see, there are two possible outcomes:</p>
  
  <ul>
  <li>Multiple lists are created, but the beans inside them are shared (because their scope defaults to singleton)</li>
  <li>Multiple lists are created, and a new copy of each bean is created for each list instance</li>
  </ul>
  
  <p>Also, what about this scenario?</p>
  
  <pre><code>&lt;bean id="referencedBean" class="com.mypackage.MyTestBeanClass1" /&gt;
  &lt;util:list id="myBeanId" scope="prototype"&gt;
    &lt;ref bean="referencedBean" /&gt;
    &lt;bean class="com.mypackage.MyTestBeanClass2" /&gt;
  &lt;/util:list&gt;
  </code></pre>
  
  <p>This seems to offer additional possibilities:</p>
  
  <ul>
  <li>The <code>referencedBean</code> remains a singleton, but multiple instances of <code>MyTestBeanClass2</code> are created.</li>
  <li>Both <code>referencedBean</code> and <code>MyTestBeanClass2</code> are duplicated for each instance of the list created (this strikes me as unlikely, but still plausible).</li>
  </ul>
  
  <p>I don't seem to be able to find any discussion of this in the spring docs.  In fact, as far as I can see, the existence of the scope property on util:list isn't even mentioned in the docs.  Have I missed it, or is this entirely undocumented?  If so can/should I rely on any particular behaviour?</p>