[cdi-dev] [JBoss JIRA] (CDI-4) Need a way to provide ordering for Event observers

Jozef Hartinger (JIRA) issues at jboss.org
Mon Oct 6 11:46:16 EDT 2014


    [ https://issues.jboss.org/browse/CDI-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13008929#comment-13008929 ] 

Jozef Hartinger commented on CDI-4:
-----------------------------------

Proposed changes to @Priority and ObserverMethod SPI:

https://github.com/weld/api/blob/3.0.Alpha1/weld/src/main/java/org/jboss/weld/experimental/ExperimentalObserverMethod.java
https://github.com/weld/api/blob/3.0.Alpha1/weld/src/main/java/org/jboss/weld/experimental/Priority.java

> Need a way to provide ordering for Event observers
> --------------------------------------------------
>
>                 Key: CDI-4
>                 URL: https://issues.jboss.org/browse/CDI-4
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>          Components: Events, Portable Extensions
>    Affects Versions: 1.0
>         Environment: All
>            Reporter: Lincoln Baxter III
>            Assignee: Pete Muir
>             Fix For: 2.0 (discussion)
>
>
> There needs to be a way to specify some kind of ordering for Event observers. 
> Understandably, this is somewhat counter-intuitive to the general concept of observing an event, but there is going to be need for this in an upcoming JBoss project. While it can be done manually, it might be nice to have a built-in API.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the cdi-dev mailing list