[cdi-dev] [JBoss JIRA] (CDI-688) Contextual bean stores

Martin Kouba (JIRA) issues at jboss.org
Mon Mar 6 03:46:01 EST 2017


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

Martin Kouba commented on CDI-688:
----------------------------------

Right now, this is undefined, i.e. it's completely up to the implementations (assuming the requirements for normal scopes are met: "6.3. Normal scopes and pseudo-scopes"). What kind of pluggability do you have in mind?

> Contextual bean stores
> ----------------------
>
>                 Key: CDI-688
>                 URL: https://issues.jboss.org/browse/CDI-688
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>            Reporter: John Ament
>
> Right now, the notion of how beans are stored are ambiguous.  The implementations back them by maps.  This may work well, but there's some amount of plugability required to make passivation capable beans work right.  A single request makes sense to store in a map.  Sessions are stored in the HTTPSession.  We should allow these bean stores to be more pluggable, allowing users or implementations to override how their beans are stored.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the cdi-dev mailing list