[
https://issues.jboss.org/browse/CDI-20?page=com.atlassian.jira.plugin.sys...
]
Jens Schumann commented on CDI-20:
----------------------------------
Good point, Antoine.
And even with ordered event observers: What would be the meaning of "propagate =
false" for transactional event observers?
@Observes(propagate = false) - stop event propagation after being
handled by an observer
----------------------------------------------------------------------------------------
Key: CDI-20
URL:
https://issues.jboss.org/browse/CDI-20
Project: CDI Specification Issues
Issue Type: Feature Request
Components: Events
Affects Versions: 1.0
Environment: any
Reporter: Walter White
Fix For: 2.0 (discussion)
I would like to have the ability to stop event propagation after it is handled by any
observer only for certain situations. Is it possible to add a property to the annotation
indicating whether the propagation should continue after being handled by the observer?
Alternatively, would it be more concise to add a qualifier annotation which specifies the
propagation.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)