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