Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-7721

CDI validator should be aware of custom decorators/interceptors/...

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.2.0.CR1
    • None
    • cdi
    • None

    Description

      For example we have:

      class CustomDecoratorImplementation implements Decorator<VehicleDecorator> {
      ...
      }

      and

      class VehicleDecorator implements Vehicle {
      @Inject @Delegate Vehicle delegate;
      ...
      }

      Then is VehicleDecorator is a decorator though it doesn't have @Decorator annotation. So CDI validator should not treat @Inject @Delegate Vehicle delegate; as a definition error.

      Attachments

        Activity

          People

            scabanovich Viacheslav Kabanovich (Inactive)
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: