[cdi-dev] [JBoss JIRA] (CDI-138) Allow an extension to register an interceptor bindings and qualifiers with an AnnotatedType

Antoine Sabot-Durand (JIRA) issues at jboss.org
Fri Oct 7 05:56:03 EDT 2016


     [ https://issues.jboss.org/browse/CDI-138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Sabot-Durand resolved CDI-138.
--------------------------------------
    Resolution: Done


> Allow an extension to register an interceptor bindings and qualifiers with an AnnotatedType
> -------------------------------------------------------------------------------------------
>
>                 Key: CDI-138
>                 URL: https://issues.jboss.org/browse/CDI-138
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>          Components: Interceptors, Portable Extensions
>    Affects Versions: 1.0, 1.1.EDR
>            Reporter: Kevin Pollet
>            Assignee: Pete Muir
>            Priority: Minor
>             Fix For: 1.1.PRD
>
>
> 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)}}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the cdi-dev mailing list