]
Work on CDI-458 started by Antoine Sabot-Durand.
------------------------------------------------
Give the possibility to deactivate an observer in
ProcessObserverMethod
-----------------------------------------------------------------------
Key: CDI-458
URL:
https://issues.jboss.org/browse/CDI-458
Project: CDI Specification Issues
Issue Type: Feature Request
Components: Events, Portable Extensions
Affects Versions: 1.2.Final
Reporter: Antoine Sabot-Durand
Assignee: Antoine Sabot-Durand
Fix For: 2.0 (proposed)
Today if a user want to deactivate an observer at deployment time, she needs to observes
{{ProcessAnnotatedType}} with {{(a)WithAnnotation(Observes.class)}} and replace the
annotatedType by a new one without the {{@Observes}} annotation. It's quite heavy to
manage.
We could add a {{veto()}} method in {{ProcessObserverMethod}} to do this in a far easier
and intuitive way.