[JBoss JIRA] (CDI-688) Contextual bean stores
by Antoine Sabot-Durand (JIRA)
[ https://issues.jboss.org/browse/CDI-688?page=com.atlassian.jira.plugin.sy... ]
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)