[cdi-dev] [JBoss JIRA] (CDI-235) Clarify which scopes are active during @PostConstruct of remote EJBs and @Startup
Pete Muir (JIRA)
jira-events at lists.jboss.org
Wed Aug 22 08:13:15 EDT 2012
[ https://issues.jboss.org/browse/CDI-235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pete Muir updated CDI-235:
--------------------------
Fix Version/s: 1.1.PRD
(was: 1.1 (Proposed))
> 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
> Assignee: Joe Bergmark
> Fix For: 1.1.PRD
>
>
> 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