]
Antoine Sabot-Durand resolved CDI-506.
--------------------------------------
Assignee: Antoine Sabot-Durand
Fix Version/s: 2.0-EDR1
Resolution: Done
'10.4.4. Conditional observer methods' - specifies incorrect
Element name for @Observes annotation
--------------------------------------------------------------------------------------------------
Key: CDI-506
URL:
https://issues.jboss.org/browse/CDI-506
Project: CDI Specification Issues
Issue Type: Bug
Environment: --NA-- (Documentation issue)
Reporter: Abhishek Gupta
Assignee: Antoine Sabot-Durand
Fix For: 2.0-EDR1
Section 10.4.4. Conditional observer methods' - specifies 'receive' as the
element name for the @Observes annotation. The correct element should be
'notifyObserver' as per Javadocs
http://bit.ly/16PfyhD
public void refreshOnDocumentUpdate(@Observes(notifyObserver=IF_EXISTS) @Updated Document
doc)