[cdi-dev] [JBoss JIRA] Commented: (CDI-121) TransactionScope
Stuart Douglas (JIRA)
jira-events at lists.jboss.org
Thu Sep 8 18:13:26 EDT 2011
[ https://issues.jboss.org/browse/CDI-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627376#comment-12627376 ]
Stuart Douglas commented on CDI-121:
So it turns out I wan't thinking when I made that comment.
I was just thinking that this idea of 'stateless if the scope is not active' could be generalised to all scopes, so you could place an annotation on a bean that enables this behaviour.
> Key: CDI-121
> URL: https://issues.jboss.org/browse/CDI-121
> Project: CDI Specification Issues
> Issue Type: Feature Request
> Components: Contexts
> Environment: Java EE
> Reporter: Richard Hightower
> Assignee: Richard Hightower
> Priority: Minor
> Fix For: 1.1 (Proposed)
> Original Estimate: 3 days
> Remaining Estimate: 3 days
> Add TransctionalScope as a standard scope to define beans whose lifecycle is the same as a given transaction.
> This scope should start automatically when a transaction starts (but lazily when actually needed).
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the cdi-dev