Mastering Java EE Development with WildFly
上QQ阅读APP看书,第一时间看更新

Enabled decorators

To activate the decorators, the annotations are not enough. You need to update the beans.xml file adding the decorator classes list:

<Decorators>
<class>

it.vige.businesscomponents.injection.decorator.CoderDecor
ator
</class>
</Decorators>