XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Major
    • 2.16.1.Final
    • 2.12.1.Final
    • Java EE
    • None

    Description

      It would be good to be able to create a new CDI extension. A basic command could just be :

      cdi-new-extension --named MyExtension
      

      This will generate the following code as well as enabling :

      class MyExtension implements Extension {
      
      }
      

      The extension could be enabled with just an attribute :

      cdi-new-extension --named MyExtension --enable=true
      

      This will create the META-INF/services/javax.enterprise.inject.spi.Extension file and would declare the extension within the file.

      Attachments

        Activity

          People

            rhn-support-ggastald George Gastaldi
            agoncal Antonio Goncalves (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: