title: declare spring bean of string type one line
body: <p>I want to declare a bean of String type in an spring xml context in the shortest way possible. So far this is the shortest way I've found</p>
  
  <pre><code>&lt;bean id="bean1" class="java.lang.String"&gt;
          &lt;constructor-arg type="String" value="someword" /&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>However, for readability, I would like to 'stack' multiple of these neatly, kinda like so, and I can't just put all the code on one line because of team standards about line code length:</p>
  
  <pre><code>&lt;bean id="bean1" class="java.lang.String"&gt;blah blah &lt;/bean&gt;
  &lt;bean id="bean2" class="java.lang.String"&gt;blah blah &lt;/bean&gt;
  &lt;bean id="bean3" class="java.lang.String"&gt;blah blah &lt;/bean&gt;
  </code></pre>