title: @PostConstruct method is not called
body: <p>I wanted to use <code>@PostConstruct</code> to initialize a bean in my webapp but I can't get it to work.</p>
  
  <p>I've recreated the problem in a new project and it still won't work.</p>
  
  <p>Am I missing something obvious here? As far as I can tell my <code>init()</code> method fulfills all the requirements listed in <code>@PostConstruct</code> API reference.</p>
  
  <p><code>MyBean.java</code>:</p>
  
  <pre><code>@ManagedBean
  @RequestScoped
  public class MyBean {
      @ManagedProperty(value="15")
      private int number = 10;
  
      @PostConstruct
      public void init(){
          number = 20;
      }
  
      public int getNumber() {
          return number;
      }
  
      public void setNumber(int number) {
          this.number = number;
      }
  }
  </code></pre>
  
  <p><code>number.xhtml</code>:</p>
  
  <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml"
        xmlns:h="http://java.sun.com/jsf/html"&gt;
  
  &lt;h:head&gt;
      &lt;title&gt;Simple JSF Facelets page&lt;/title&gt;
  &lt;/h:head&gt;
  
  &lt;h:body&gt;
      Number = #{myBean.number}
  &lt;/h:body&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p>I would expect <code>Number = 20</code> but I get <code>Number = 15</code>.</p>