[cdi-dev] [JBoss JIRA] (CDI-215) Create temporary Conversation when method invoked from non-servlet request
Pete Muir (JIRA)
jira-events at lists.jboss.org
Fri Aug 17 07:06:15 EDT 2012
[ https://issues.jboss.org/browse/CDI-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712186#comment-12712186 ]
Pete Muir commented on CDI-215:
-------------------------------
Another way to address this is to allow a scope to propose a "backup" if there are no active contexts for the scope, in this case @RequestScoped. IOW graceful degradation.
JMS 2 needs something similar, where they use TX scope if available, otherwise request scope.
(Not saying I like this approach, but just putting it out there ;-)
> Create temporary Conversation when method invoked from non-servlet request
> --------------------------------------------------------------------------
>
> Key: CDI-215
> URL: https://issues.jboss.org/browse/CDI-215
> Project: CDI Specification Issues
> Issue Type: Feature Request
> Components: Contexts, Java EE integration
> Reporter: Cody Lerum
> Fix For: 1.1 (Proposed)
>
>
> Use case would be from an EJB 3.1 Timer
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the cdi-dev
mailing list