[jbosstools-issues] [JBoss JIRA] (JBIDE-9902) Add support for Seam REST
Jozef Hartinger (Created) (JIRA)
jira-events at lists.jboss.org
Thu Oct 13 09:18:16 EDT 2011
Add support for Seam REST
-------------------------
Key: JBIDE-9902
URL: https://issues.jboss.org/browse/JBIDE-9902
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: CDI extensions
Affects Versions: 3.3.0.M3
Reporter: Jozef Hartinger
Attachments: client.png
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:
{quote}No bean is eligible for injection to the injection point [JSR-299 §5.2.1]{quote}
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?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list