[cdi-dev] [JBoss JIRA] (CDI-554) Additional built-in beans do not have a scope defined

Martin Kouba (JIRA) issues at jboss.org
Thu Aug 6 04:20:03 EDT 2015


Martin Kouba created CDI-554:
--------------------------------

             Summary: Additional built-in beans do not have a scope defined
                 Key: CDI-554
                 URL: https://issues.jboss.org/browse/CDI-554
             Project: CDI Specification Issues
          Issue Type: Clarification
    Affects Versions: 2.0-EDR1
            Reporter: Martin Kouba


See section 17.8. Additional built-in beans - a scope is not defined for UserTransaction, Principal, HttpServletRequest, etc. Maybe it's defined somewhere else but I cannot find anything.

In Weld, Java EE beans are {{@Dependent}},  HttpServletRequest and ServletContext are {{@RequestScoped}} and HttpSession is {{@SessionScoped}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the cdi-dev mailing list