You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Paul J. Reder (JIRA)" <ji...@apache.org> on 2010/05/02 20:35:00 UTC

[jira] Created: (GERONIMO-5282) JSR-299 section "10.4.4. Conditional observer methods" uses "receive=IF_EXISTS" but Geronimo (from OWB) uses "notifyObserver=IF_EXISTS"

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


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.


[jira] Updated: (GERONIMO-5282) JSR-299 section "10.4.4. Conditional observer methods" uses "receive=IF_EXISTS" but Geronimo (from OWB) uses "notifyObserver=IF_EXISTS"

Posted by "Paul J. Reder (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-5282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul J. Reder updated GERONIMO-5282:
------------------------------------

    Attachment: observes.patch
                receive.patch

The observes.patch file applies to Geronimo code in support of OpenWebBeans. The receive.patch file applies to OWB and is attached here for reference purposes only.

> 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.


[jira] Commented: (GERONIMO-5282) JSR-299 section "10.4.4. Conditional observer methods" uses "receive=IF_EXISTS" but Geronimo (from OWB) uses "notifyObserver=IF_EXISTS"

Posted by "Gurkan Erdogdu (JIRA)" <ji...@apache.org>.
    [ 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.