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

    Details

      Description

      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)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pmuir Pete Muir
                  Reporter:
                  kevinpollet Kévin Pollet
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: