[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-9734) CDI validator should not treat @Inject @RestClient("...") ServiceInterface injection; as an unsatisfied dependency

Isaac Rooskov (JIRA) jira-events at lists.jboss.org
Tue Sep 27 23:47:26 EDT 2011


     [ https://issues.jboss.org/browse/JBIDE-9734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Isaac Rooskov updated JBIDE-9734:
---------------------------------

    Release Notes Text: 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.  


> CDI validator should not treat @Inject @RestClient("...")  ServiceInterface injection; as an unsatisfied dependency
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-9734
>                 URL: https://issues.jboss.org/browse/JBIDE-9734
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: CDI extensions
>            Reporter: Alexey Kazakov
>            Assignee: Alexey Kazakov
>              Labels: new_and_noteworthy
>             Fix For: 3.3.0.M4
>
>
> 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:
> {code}
> @Inject
> @RestClient("http://localhost:8080/rest-tasks")
> private SeamTasksService service;
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list