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

Antoine Sabot-Durand (JIRA) issues at jboss.org
Mon Mar 6 04:47:00 EST 2017


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

Antoine Sabot-Durand commented on CDI-688:
------------------------------------------

+1 to [~mkouba] comment. Right now, nothing prevents you to create a custom scope with your own store.

> 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