[cdi-dev] [JBoss JIRA] (CDI-385) ProcessObserverMethod is different btw spec and API

Tomas Remes (JIRA) issues at jboss.org
Mon Feb 23 03:11:49 EST 2015


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

Tomas Remes commented on CDI-385:
---------------------------------

[~antoinesabot-durand] There is old comment (" // These parameters are the wrong .." ) on javax.enterprise.inject.spi.ProcessObserverMethod which should be removed.

> ProcessObserverMethod is different btw spec and API
> ---------------------------------------------------
>
>                 Key: CDI-385
>                 URL: https://issues.jboss.org/browse/CDI-385
>             Project: CDI Specification Issues
>          Issue Type: Bug
>          Components: Javadoc and API
>    Affects Versions: 1.1.PFD
>            Reporter: Mark Struberg
>            Assignee: Antoine Sabot-Durand
>            Priority: Critical
>              Labels: CDI_spec_chge, Ready_to_fix
>             Fix For: 1.2.Final
>
>
> As stated in CDI-88 the spec and API is different for ProcessObserverMethod.
> In the spec there is a method
> public AnnotatedParameter<T> getAnnotatedEventParameter();
> but in the API there is
> AnnotatedMethod<X> getAnnotatedMethod();
> which imo makes much more sense anyway.
> Thus we should amend the spec wording finally.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the cdi-dev mailing list