@PostConstruct not working when bean name is equal to class name
----------------------------------------------------------------

                 Key: MYFACES-3466
                 URL: https://issues.apache.org/jira/browse/MYFACES-3466
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-314
    Affects Versions: 2.1.6
         Environment: Tomcat 7.0.25, Java 1.6.0_03
            Reporter: Mirko Strüßmann
            Priority: Minor


When giving a managed bean the name of the class, methods annotated with 
@PostConstruct are not called after construction  of the bean.
Example:

@ManagedBean("TestBean")
public class TestBean {
  @PostConstruct
  void init() {
  }
}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to