title: How do I manually autowire a bean with Spring?
body: <p>I have a bean <code>B</code> which I have to create myself (using <code>new B()</code>) and which has <code>@Autowire</code> and <code>@PostConstruct</code> annotations.</p>
  
  <p>How do I make Spring process these annotations from my bean <code>A</code>?</p>
  
  <p>Related question:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/2383205/in-spring-can-i-autowire-new-beans-from-inside-an-autowired-bean">In Spring, can I autowire new beans from inside an autowired bean?</a></li>
  </ul>