Details
-
Feature Request
-
Resolution: Duplicate
-
Major
-
3.3.0.M3
-
None
-
Release Notes
Description
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?
Attachments
Issue Links
- duplicates
-
JBIDE-9734 CDI validator should not treat @Inject @RestClient("...") ServiceInterface injection; as an unsatisfied dependency
- Closed