Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-458

Give the possibility to deactivate an observer in ProcessObserverMethod

    XMLWordPrintable

Details

    Description

      Today if a user want to deactivate an observer at deployment time, she needs to observes ProcessAnnotatedType with @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.

      Attachments

        Issue Links

          Activity

            People

              asabotdu@redhat.com Antoine Sabot-Durand (Inactive)
              asabotdu@redhat.com Antoine Sabot-Durand (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: