Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-6644 Offer quick fixes for CDI validations
  3. JBIDE-7672

Quick fix for "Non-static method <method>() of a session bean class <class> has a parameter annotated @Disposes/@Observes..." error markers

XMLWordPrintable

    • Documentation (Ref Guide, User Guide, etc.)

      This quick fix for next error markers:
      1. Non-static method <method>() of a session bean class <class> has a parameter annotated @Disposes, and the method is not a business method of the session bean [JSR-299 §3.3.6]
      2. Non-static method <method>() of a session bean class <class> has a parameter annotated @Observes, and the method is not a business method of the EJB [JSR-299 §10.4.2]

      Quick fix should make the method a business method of the EJB

      See JBIDE-7669 for details

              dazarov_jira Daniel Azarov (Inactive)
              dazarov_jira Daniel Azarov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: