]
George Gastaldi updated FORGE-2078:
-----------------------------------
Status: Closed (was: Pull Request Sent)
Fix Version/s: 2.12.2.Final
(was: 2.x Future)
Resolution: Done
Thanks!
Being able to create a new CDI decorator
----------------------------------------
Key: FORGE-2078
URL:
https://issues.jboss.org/browse/FORGE-2078
Project: Forge
Issue Type: Sub-task
Components: Java EE
Affects Versions: 2.12.1.Final
Reporter: Antonio Goncalves
Assignee: Antonio Goncalves
Fix For: 2.12.2.Final
It would be good to have a command to generate a CDI decorator. A simple command such as
:
{code}
cdi-new-decorator --named LargeTransactionDecorator --delegate Account
{code}
Would generate :
{code}
@Decorator
public abstract class LargeTransactionDecorator implements Account {
@Inject @Delegate Account delegate;
}
{code}