[cdi-dev] [JBoss JIRA] (CDI-20) @Observes(propagate = false) - stop event propagation after being handled by an observer

Antoine Sabot-Durand (JIRA) issues at jboss.org
Tue Jul 29 05:54:30 EDT 2014


     [ https://issues.jboss.org/browse/CDI-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Sabot-Durand updated CDI-20:
------------------------------------

    Fix Version/s: 2.0 (discussion)
                       (was: TBD)


> @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)


More information about the cdi-dev mailing list