3 Replies Latest reply on Sep 23, 2013 8:14 PM by Mathieu Lachance

    why decorators requires an interface ?

    Mathieu Lachance Novice

      The title says it all,

       

      Would it be possible to revisit these:

      [#CDI-221] Throw definition error if the set of decorated types of a decorator is empty - JBoss Issue Tracker

      [#CDI-224] Support Decoration of no interface beans - JBoss Issue Tracker

       

      Could we not simply log a warning when public method definition clashes between decorator delegates instead of forcibly disallow it ?

       

      Thanks,