title: How to XML configure Spring bean for constructor injection when bean has varargs constructor
body: <p>Is there a way to write a Spring bean in XML so that it uses constructor injection when that constructor has a varargs parameter type? IE, is there a way to specify an array the way you can specify a list? </p>
  
  <p>For instance:</p>
  
  <pre><code>class MyClass {
      MyClass(String... args) {
          // rest omitted
      }
  }
  </code></pre>