[cdi-dev] [JBoss JIRA] Commented: (CDI-48) Global Interceptor/Decorator ordering

George Gastaldi (JIRA) jira-events at lists.jboss.org
Wed May 4 00:28:18 EDT 2011


    [ https://issues.jboss.org/browse/CDI-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12599773#comment-12599773 ] 

George Gastaldi commented on CDI-48:
------------------------------------

This also applies to ServiceHandler beans as defined in CDI-110

> Global Interceptor/Decorator ordering
> -------------------------------------
>
>                 Key: CDI-48
>                 URL: https://issues.jboss.org/browse/CDI-48
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>          Components: Decorators, Interceptors, Packaging and Deployment
>    Affects Versions: 1.0
>            Reporter: Stuart Douglas
>             Fix For: 1.1 (Proposed)
>
>
> Currently interceptor/decorator ordering is specified on a per bean archive level. In the majority of cases the correct ordering is the same for every BDA in the application, so this violates DRY and opens the door to nasty bugs due to different ordering per module if beans.xml files get out of sync. 
> We should look at allowing the user to define interceptor and decorator ordering once per app and have this applied to all modules in the deployment.

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