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

Martin Kouba (JIRA) issues at jboss.org
Mon Feb 22 04:57:00 EST 2016


    [ https://issues.jboss.org/browse/CDI-554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13166211#comment-13166211 ] 

Martin Kouba commented on CDI-554:
----------------------------------

I'm not so sure this clarification is needed any longer. From the user point of view, it doesn't seem to be necessary.

> 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: 1.2.Final, 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.4.11#64026)


More information about the cdi-dev mailing list