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

Details

    Description

      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
      {
      }
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: