[cdi-dev] [JBoss JIRA] (CDI-235) Clarify which scopes are active during @PostConstruct of remote EJBs and @Startup
Joe Bergmark (JIRA)
jira-events at lists.jboss.org
Thu May 31 11:04:17 EDT 2012
Joe Bergmark created CDI-235:
--------------------------------
Summary: Clarify which scopes are active during @PostConstruct of remote EJBs and @Startup
Key: CDI-235
URL: https://issues.jboss.org/browse/CDI-235
Project: CDI Specification Issues
Issue Type: Clarification
Components: Contexts
Affects Versions: 1.0
Reporter: Joe Bergmark
Fix For: 1.1 (Proposed)
There is a very similar snippet regarding when scopes are active for all EJBs in 6.7.1 and 6.7.3. Neither appears to directly address @PostConstruct, though 6.7.3 does address @PreDestroy.
It makes sense to me that application scope would be active during @PostConstruct, but that request scope might not be as @PostConstruct might be called outside of a business method invocation. I believe 7.2 states that lifecycle callbacks are not business method invocations.
This is a slightly more generic version of CDI-219, which specifically addresses request scope in EJB @Singleton @Startup @PostConstruct methods.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the cdi-dev
mailing list