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

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Jun 23 11:38:24 EDT 2011


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

Pete Muir updated CDI-138:
--------------------------

    Priority: Minor  (was: Major)


Putting this forward for 1.1 as it's required for good integration with other specs.

> Allow an extension to register an interceptor bindings 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
>            Reporter: Kevin Pollet
>            Priority: Minor
>             Fix For: 1.1 (Proposed)
>
>
> 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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the cdi-dev mailing list