[ 
https://issues.apache.org/jira/browse/GERONIMO-5282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863182#action_12863182
 ] 

Gurkan Erdogdu commented on GERONIMO-5282:
------------------------------------------

I think that spec is not correct. RI and Java EE 6 API uses 
Observes#notifyObserver.

See 
http://anonsvn.jboss.org/repos/weld/api/trunk/cdi/src/main/java/javax/enterprise/event/Observes.java
See http://java.sun.com/javaee/6/docs/api/javax/enterprise/event/Observes.html

> JSR-299 section "10.4.4. Conditional observer methods" uses 
> "receive=IF_EXISTS" but Geronimo (from OWB) uses "notifyObserver=IF_EXISTS"
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5282
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5282
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: OpenWebBeans
>         Environment: All
>            Reporter: Paul J. Reder
>         Attachments: observes.patch, receive.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The copy of the 299 spec that I have, in section "10.4.4. Conditional 
> observer methods", uses receive=IF_EXISTS but OWB uses 
> notifyObserver=IF_EXISTS. The attached patch changes the Geronimo portion 
> (definition of notifyObserver). There is a parallel patch being submitted to 
> OpenWebBeans to change the references to receive. That patch is also attached 
> here for reference. The patched file originated in OWB and was passed over to 
> Geronimo (Observes.java)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to