[forge-issues] [JBoss JIRA] (FORGE-2080) Being able to enable CDI interceptors and decorators

George Gastaldi (JIRA) issues at jboss.org
Tue Mar 3 09:46:49 EST 2015


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

George Gastaldi updated FORGE-2080:
-----------------------------------
    Labels: starter  (was: )


> Being able to enable CDI interceptors and decorators
> ----------------------------------------------------
>
>                 Key: FORGE-2080
>                 URL: https://issues.jboss.org/browse/FORGE-2080
>             Project: Forge
>          Issue Type: Sub-task
>          Components: Java EE
>    Affects Versions: 2.12.1.Final
>            Reporter: Antonio Goncalves
>              Labels: starter
>             Fix For: 2.x Future
>
>
> [FORGE-2060] and [FORGE-2078] create CDI interceptors and decorators. It would be interesting to add a parameter to enable them in the {{beans.xml}}. Both could have an extra {{enabled}} with just a parameter :
> {code}
> cdi-new-decorator --named LargeTransactionDecorator --implements Account --enabled=true
> {code}
> Would add the following lines to the {{beans.xml}} : 
> {code}
>   <decorators>
>     <class>com.foo.bar.LargeTransactionDecorator</class>
>   </decorators>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the forge-issues mailing list