In section 10.5.4 and 10.5.6, the spec requires that the @Observes annotation define a notify parameter which accepts the Notify enum. However, the Java compiler does not allow an annotation to define a method named notify().<br>
<br>public @interface Observes<br>{<br>    Notify notify() default Notify.SYNCHRONOUSLY;<br>}<br><br>This annotation parameter will need to be renamed. I suggest &quot;notifyObserver&quot;.<br><br>public void observerMethod(@Observes(notifyObserver=IF_EXISTS) EventType event)<br>
<br>-Dan<br><br>-- <br>Dan Allen<br>Senior Software Engineer, Red Hat | Author of Seam in Action<br><br><a href="http://mojavelinux.com">http://mojavelinux.com</a><br><a href="http://mojavelinux.com/seaminaction">http://mojavelinux.com/seaminaction</a><br>
<a href="http://in.relation.to/Bloggers/Dan">http://in.relation.to/Bloggers/Dan</a><br><br>NOTE: While I make a strong effort to keep up with my email on a daily<br>basis, personal or other work matters can sometimes keep me away<br>
from my email. If you contact me, but don&#39;t hear back for more than a week,<br>it is very likely that I am excessively backlogged or the message was<br>caught in the spam filters.  Please don&#39;t hesitate to resend a message if<br>
you feel that it did not reach my attention.<br>