[cdi-dev] [JBoss JIRA] (CDI-215) Create temporary Conversation when method invoked from non-servlet request
Guido Bonazza (JIRA)
jira-events at lists.jboss.org
Tue Aug 28 11:30:15 EDT 2012
[ https://issues.jboss.org/browse/CDI-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714302#comment-12714302 ]
Guido Bonazza commented on CDI-215:
-----------------------------------
This is important to allow for a broader component reuse: it's quite common, I think, that a component that should be shared in a conversation would make perfect sense without one (I won't mention the EntityManager anymore of course ;-) but you got the idea).
Probably, if such a temporary conversation is created, Conversation#begin() and Conversation#end() should fire an exception.
> 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
> Assignee: Joe Bergmark
> Fix For: 1.1.PRD
>
>
> 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