title: replace <constructor-arg> with Spring Annotation
body: <p>there is a way to replace constructor-arg with Annotation?</p>
  
  <p>I have this constructor:</p>
  
  <pre><code>public GenericDAOImpl(Class&lt;T&gt; type) {
      this.type = type;
  }
  </code></pre>
  
  <p>and i need to inject that in my Facade:</p>
  
  <pre><code>@Inject
  private GenericDAO&lt;Auto, Long&gt; autoDao;
  </code></pre>
  
  <p>The problem is that i don't know how to pass the value of parameter in costructor.</p>
  
  <p>Thank you in advance</p>
  
  <p>[More Info]
  I try to explain my problem. </p>
  
  <pre><code>&lt;bean id="personDao" class="genericdao.impl.GenericDaoHibernateImpl"&gt;
          &lt;constructor-arg&gt;
              &lt;value&gt;genericdaotest.domain.Person&lt;/value&gt;
          &lt;/constructor-arg&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>I want convert that code using only annotation.
  Someone can explain how?</p>