[forge-issues] [JBoss JIRA] (FORGE-2085) Improving the cdi-new-bean command
Antonio Goncalves (JIRA)
issues at jboss.org
Mon Oct 20 11:31:36 EDT 2014
[ https://issues.jboss.org/browse/FORGE-2085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Goncalves updated FORGE-2085:
-------------------------------------
Description:
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}
was:
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 --atNamed=true
{code}
This would generate :
{code}
@SessionScoped
@Production
@Alternative
@Named
public class MyBean
{
}
{code}
> 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
> 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