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

Kevin Pollet (JIRA) jira-events at lists.jboss.org
Thu Jun 23 10:32:23 EDT 2011


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
             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