[jboss-jira] [JBoss JIRA] (WFLY-5097) @Startup @Singleton Beans Constructed Multiple Times
Davide Crudo (JIRA)
issues at jboss.org
Thu Aug 13 05:58:03 EDT 2015
Davide Crudo created WFLY-5097:
----------------------------------
Summary: @Startup @Singleton Beans Constructed Multiple Times
Key: WFLY-5097
URL: https://issues.jboss.org/browse/WFLY-5097
Project: WildFly
Issue Type: Bug
Components: EJB
Affects Versions: 9.0.1.Final
Environment: All
Reporter: Davide Crudo
When using @Startup and/or @Singleton to start a Bean on server startup, everytime a method is accessed or the bean is injected with @EJB, both Constructor and @Postconstruct are executed.
This happens multiple times, each time any component uses the Singleton bean.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list