[cdi-dev] [JBoss JIRA] (CDI-482) Overloaded version of ObserverMethod.notify()

Antoine Sabot-Durand (JIRA) issues at jboss.org
Sun Oct 9 05:25:00 EDT 2016


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

Antoine Sabot-Durand resolved CDI-482.
--------------------------------------
    Resolution: Duplicate Issue


> Overloaded version of ObserverMethod.notify()
> ---------------------------------------------
>
>                 Key: CDI-482
>                 URL: https://issues.jboss.org/browse/CDI-482
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>          Components: Events, Portable Extensions
>    Affects Versions: 1.2.Final
>            Reporter: Jozef Hartinger
>             Fix For: 2.0 (discussion)
>
>
> Resurrecting the old proposal (CDI-36) that was rejected due to backward compatibility (CDI-281). In the meantime, alternative approach of obtaining event qualifiers (doing a programmatic lookup for EventMetadata) became available. 
> Now that default methods are available in Java, we should consider making EventMetadata easier to use by making it part of the SPI directly:
> {code:JAVA}
> ObserverMethod.notify(T event, EventMetadata metadata)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the cdi-dev mailing list