title: @PostConstruct method is not called in Spring
body: <p>SampleBean:</p>
  
  <pre><code>package com.springexample;
  
  import javax.annotation.PostConstruct;
  import javax.annotation.PreDestroy;
  
  public class SampleBean {
  
      private BeanTypeOne beanOne;
  
      private BeanTypeTwo beanTwo;
  
      public void init() {
  
          System.out.println("This is from the init() method");
      }
  
      @PostConstruct
      public void initAnnotation() {
  
          System.out.println("This is from the initAnnotation() method");
  
      }
  </code></pre>
  
  <p>and config file like this :</p>
  
  <pre><code>&lt;bean id="SampleBean" class="com.springexample.SampleBean"&gt;
      &lt;property name="beanOne" ref="beanOneOne"&gt;&lt;/property&gt;
      &lt;property name="beanTwo" ref="beanTwoOne"&gt;&lt;/property&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>And I don't have <strong><em>default-init-method</em></strong> attribute set on the <strong><em>beans</em></strong> tag.</p>
  
  <p>Can any body tell why the @PostConstruct method does not get called.</p>