title: spring bean with dynamic constructor value
body: <p>I need to create an Object which is in-complete without the constructor argument. Something like this</p>
  
  <pre><code>Class A  {
    private final int timeOut
    public A(int timeout)
    {
       this.timeOut = timeout;
     }
   //...
  }
  </code></pre>
  
  <p>I would like this Bean to be spring managed, so that I can use Spring AOP later. </p>
  
  <pre><code>&lt;bean id="myBean" class="A" singleton="false"&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>However my bean needs timeout to be passed as a dynamic value - is there a way to create a spring managed bean with dynamic value being injedcted in the constructor?</p>