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

Add support for Seam REST

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Duplicate
    • Icon: Major Major
    • 3.3.0.M4
    • 3.3.0.M3
    • cdi-extensions
    • None
    • Release Notes

      Seam REST provides client integration. When using it, the user specifies an injection point whose type is an interface with no implementation in the deployment. Seam REST dynamically creates producer methods for these injection points in which a proxy for the interface is create, thus avoiding UnsatisfiedResolutionException. See http://docs.jboss.org/seam/3/rest/snapshot/reference/en-US/html/rest.client.html for more details.

      The problem with JBoss Tools is that when they validate injection points, the dynamically-registered producer methods are not taken into consideration (obviously). As a result, a user is warned of unsatisfied dependency:

      No bean is eligible for injection to the injection point [JSR-299 ยง5.2.1]

      Would it be possible to add an exception, so that when a CDI injection point contains the org.jboss.seam.rest.client.RestClient qualifier, it would be considered satisfied if Seam REST is on classpath?

        1. client.png
          18 kB
          Jozef Hartinger

            alexeykazakov Alexey Kazakov
            rhn-engineering-jharting Jozef Hartinger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: