title: How to create a Spring Bean of a Inner class?
body: <p>I would like to create a Spring Bean of a Inner class. If I have the following inner class <code>B</code>:</p>
  
  <pre><code>package x.y.z;
  
  public class A {
      public class B { }
  }
  </code></pre>
  
  <p>I would like to create bean instance in my XML configuration files.</p>
  
  <pre><code>&lt;bean class="x.y.z.A.B" name="innerBean" /&gt;
  </code></pre>