1 Reply Latest reply on Nov 22, 2011 6:44 PM by Ales Justin

    Disable Decorators at runtime

    Michael Bayer Newbie

      Hi!


      I managed to solve most of the problem described here, hence a new topic for the remaining problem:


      Is there a way to enable/disable @Decorators at runtime or during deployment? I can't just veto() them in my extension's




      @Observes ProcessAnnotatedType<T>





      method because the container will complain about a missing bean while parsing the


      <decorators>...</decorators>



      section of the beans.xml


      any ideas?