]
Antonio Goncalves updated FORGE-2085:
-------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
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}