Details

      Description

      Enabled decorator is not applied to produced beans.

      @Decorator
      public abstract class FooDecorator implements Foo {
        
        @Any
        @Inject
        @Delegate
        private Foo foo;
        
        @Override
        public String process() {
          ...
          return foo.process();
        }
      }
      

      Decorator is applied to bean Baz...

        @Baz
        public class Baz implements Foo {
           ...
        }
      

      ...but not to produced bean Bar.

        
        @Bar
        @Produces
        public Foo producePaymentProcessor() {
          return new Foo() {
             ....
          };
        };
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sknitelius Stephan Knitelius
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: