[weld-issues] [JBoss JIRA] Commented: (WELD-717) @Observes(propagate = false) - stop event propagation after being handled by an observer

Walter White (JIRA) jira-events at lists.jboss.org
Wed Oct 20 11:33:54 EDT 2010


    [ https://jira.jboss.org/browse/WELD-717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558203#action_12558203 ] 

Walter White commented on WELD-717:
-----------------------------------

After coming across Seam Catch, I like the concept of using a Chain to make this possible:
http://github.com/seam/catch

This allows Observers to be prioritized as well as stop the event from propagating further.


Walter

> @Observes(propagate = false) - stop event propagation after being handled by an observer
> ----------------------------------------------------------------------------------------
>
>                 Key: WELD-717
>                 URL: https://jira.jboss.org/browse/WELD-717
>             Project: Weld
>          Issue Type: Feature Request
>          Components: Events
>    Affects Versions: 1.0.1.Final
>         Environment: any
>            Reporter: Walter White
>             Fix For: TBC
>
>
> 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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list