Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9734

CDI validator should not treat @Inject @RestClient("...") ServiceInterface injection; as an unsatisfied dependency

    XMLWordPrintable

Details

    • Hide
      The CDI validator would treat @Inject and @RestClient("...") ServiceInterface injection as unstatisfied dependencies. This caused an incorrect warning message to appear. To fix the issue, the CDI Seam Core Rest files have been modified to correctly validate @Inject and @RestClient("...") ServiceInterface properties, ensuring the warning message no longer appears.
      Show
      The CDI validator would treat @Inject and @RestClient("...") ServiceInterface injection as unstatisfied dependencies. This caused an incorrect warning message to appear. To fix the issue, the CDI Seam Core Rest files have been modified to correctly validate @Inject and @RestClient("...") ServiceInterface properties, ensuring the warning message no longer appears.
    • Documented as Resolved Issue

    Description

      EXECUTE: Import Seam Rest project from http://github.com/seam/rest as an existing maven project.
      EXECUTE: Build the project. Make sure CDI support is enabled.
      EXECUTE: Open /seam-rest-example-client/src/main/java/org/jboss/seam/rest/examples/client/tasks/SeamTasksAction.java
      ASSERT: There should not be a warning message about unsatisfied dependency on the line 26:

      @Inject
      @RestClient("http://localhost:8080/rest-tasks")
      private SeamTasksService service;
      

      Attachments

        Issue Links

          Activity

            People

              alexeykazakov Alexey Kazakov
              alexeykazakov Alexey Kazakov
              Isaac Rooskov Isaac Rooskov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: