Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1926 Adding more commands to Forge and improve existing ones
  3. FORGE-2382

Add a serializable parameter to the cdi-new-bean command

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 2.18.0.Final
    • 2.16.2.Final
    • Java EE

      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 :

      cdi-new-bean --named LoggerProducer --isSerializable
      

      This would generate :

      public class LoggerProducer implements Serializable
      {
      }
      

            agoncal Antonio Goncalves (Inactive)
            agoncal Antonio Goncalves (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: