[forge-issues] [JBoss JIRA] (FORGE-2085) Improving the cdi-new-bean command
Antonio Goncalves (JIRA)
issues at jboss.org
Mon Oct 20 12:23:34 EDT 2014
[ https://issues.jboss.org/browse/FORGE-2085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Goncalves updated FORGE-2085:
-------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/forge/core/pull/519
> Improving the cdi-new-bean command
> ----------------------------------
>
> Key: FORGE-2085
> URL: https://issues.jboss.org/browse/FORGE-2085
> 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
>
>
> At the moment the {{cdi-new-bean}} command takes the following parameters :
> {code}
> cdi-new-bean --named --scoped --targetPackage
> {code}
> It would be good to have a few extra ones :
> {code}
> cdi-new-bean --named MyBean --scoped SESSION --qualifier Production --alternative=true --withNamed=true
> {code}
> This would generate :
> {code}
> @SessionScoped
> @Production
> @Alternative
> @Named
> public class MyBean
> {
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the forge-issues
mailing list