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

Being able to add a new CDI event observer to an existing class

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 useful to have a command to add a new CDI event observer to an existing class. A command such as :

      cdi-add-event-observer --named observePurchaseOrder --type PurchaseOrder
      

      Would add to an existing class the following code :

         public void observePurchaseOrder(@Observes PurchaseOrder purchaseOrder)
         {
      
         }
      

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

              Created:
              Updated:
              Resolved: