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

Allow an extension to register an interceptor bindings and qualifiers with an AnnotatedType

XMLWordPrintable

      At BeforeBeanDiscovery phase an interceptor binding could be added with an AnnotatedType instead of annotation class. This could allow to add annotations to existing annotation attributes.

      For example this case is needed for annotations @CacheResult, @CacheRemoveEntry and @CacheRemoveAll from JSR-107 which haven't annotation attributes annotated with @NonBinding.

      The method signature could be:

      • BeforeBeanDiscovery#addInterceptorBinding(AnnotatedType<?> annotatedType, Annotation... bindingTypeDef)

            pmuiratbleepbleep Pete Muir (Inactive)
            kevinpollet Kévin Pollet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: