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

    Details

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

      Description

      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

        Gliffy Diagrams

          Activity

          Hide
          pmuir Pete Muir added a comment -

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

          Show
          pmuir Pete Muir added a comment - Quick fix should make the method a business method of the EJB
          Hide
          jlukas Lukas Jungmann added a comment -

          v. in v20110121-0004-H124-CR1

          Show
          jlukas Lukas Jungmann added a comment - v. in v20110121-0004-H124-CR1

            People

            • Assignee:
              dazarov Daniel Azarov
              Reporter:
              dazarov Daniel Azarov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development