XMLWordPrintable

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

      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.

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

                Created:
                Updated:
                Resolved: