[
https://issues.jboss.org/browse/FORGE-2382?page=com.atlassian.jira.plugin...
]
Antonio Goncalves updated FORGE-2382:
-------------------------------------
Summary: Add a serializable parameter to the cdi-new-bean command (was: Add a
isSerializable parameter to the cdi-new-bean command)
Add a serializable parameter to the cdi-new-bean command
--------------------------------------------------------
Key: FORGE-2382
URL:
https://issues.jboss.org/browse/FORGE-2382
Project: Forge
Issue Type: Sub-task
Components: Java EE
Affects Versions: 2.16.2.Final
Reporter: Antonio Goncalves
Assignee: Antonio Goncalves
Labels: starter
Fix For: 2.x Future
Sometimes it's useful/mandatory to have CDI beans that are serializable. At the
moment the {{cdi-new-bean}} command doesn't allow us to do that easily (except using
scopes that are not always needed). A simple boolean {{isSerializable}} could do :
{code}
cdi-new-bean --named LoggerProducer --isSerializable
{code}
This would generate :
{code}
public class LoggerProducer implements Serializable
{
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)