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

Jozef Hartinger (JIRA) issues at jboss.org
Wed Sep 24 04:36:02 EDT 2014


Jozef Hartinger created CDI-482:
-----------------------------------

             Summary: 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.3.1#6329)


More information about the cdi-dev mailing list