[
https://issues.apache.org/jira/browse/OWB-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Struberg updated OWB-1074:
-------------------------------
Fix Version/s: (was: 2.0.3)
2.0.4
> implement automatic supportsConversation() detection
> ----------------------------------------------------
>
> Key: OWB-1074
> URL: https://issues.apache.org/jira/browse/OWB-1074
> Project: OpenWebBeans
> Issue Type: Improvement
> Components: Context and Scopes
> Affects Versions: 1.5.0
> Reporter: Mark Struberg
> Fix For: 2.0.4
>
>
> Currently we rely on the user to define the configuration option in
> OpenWebBeansConfiguration
> {code}
> APPLICATION_SUPPORTS_CONVERSATION =
> "org.apache.webbeans.application.supportsConversation";
> {code}
> This is by default disabled in owb-impl (core) and gets enabled by adding the
> web or jsf plugins.
> We could improve this by not only allowing {{true}} or {{false}} but also
> with an {{auto}} mode.
> In this mode the BeanManager can walk through all registered beans and check
> whether there is a single @ConversationScoped bean. In that case we will
> automagically enable CDI conversations, otherwise OWB will dynamically
> disable conversation support and don't need to do all kinds of work in
> WebContextsService for example.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)