title: How to use init-method with autowired dependencies?
body: <p>If there is a bean with init method:</p>
  
  <pre><code>&lt;bean id="myBean" class="com.test.MyBean" scope="prototype" init-method="init"&gt;
  </code></pre>
  
  <p>The init-method:</p>
  
  <pre><code>public void init(MyBeanHolder holder) {
      this.myBean = holder.getMyBean();
  }
  </code></pre>
  
  <p>The problem is the <code>init</code> method does not autowire bean. So the question is how can I use <code>init</code> with injected dependencies?</p>