title: How to inject or autowire a Class type with spring?
body: <p>How Do I wire this class in Spring.</p>
  
  <p>1) Annotation
  2) Xml</p>
  
  <p>note: I can already wire other classes just not sure how to wire a class in this scenario</p>
  
  <pre><code>Class&lt;? super Client &gt;
  
  enter code here
  
  
  public class ClientData2 extends ContainerClass&lt;Client&gt;
  {
    public ClientData2(Class&lt;? super Client&gt; type)
          throws IllegalArgumentException
    {
      super(type);
    }
  }
  </code></pre>