[forge-issues] [JBoss JIRA] (FORGE-2078) Being able to create a new CDI decorator

Antonio Goncalves (JIRA) issues at jboss.org
Sat Oct 18 18:39:34 EDT 2014


Antonio Goncalves created FORGE-2078:
----------------------------------------

             Summary: 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.x Future


It would be good to have a command to generate a CDI decorator. A simple command such as :

{code}
cdi-new-decorator --named LargeTransactionDecorator --implements Account
{code}

Would generate :  

{code}
@Decorator
public abstract class LargeTransactionDecorator implements Account {

    @Inject @Delegate Account delegate;

}
{code}




--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the forge-issues mailing list