[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-9763) CDI Tools should take into account parametrized beans when resolving injection points

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Tue Sep 27 14:49:26 EDT 2011


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

Alexey Kazakov resolved JBIDE-9763.
-----------------------------------

      Assignee: Viacheslav Kabanovich  (was: Alexey Kazakov)
    Resolution: Done


fixed

> CDI Tools should take into account parametrized beans when resolving injection points
> -------------------------------------------------------------------------------------
>
>                 Key: JBIDE-9763
>                 URL: https://issues.jboss.org/browse/JBIDE-9763
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: CDI
>    Affects Versions: 3.3.0.M3
>            Reporter: Alexey Kazakov
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.3.0.M4
>
>
> EXECUTE: Create a mavenized CDI project.
> EXECUTE: Add infinispan jars to it:
> {code}
> <dependency>
> 	<groupId>org.infinispan</groupId>
> 	<artifactId>infinispan-core</artifactId>
> 	<version>5.1.0.ALPHA2</version>
> </dependency>
> <dependency>
> 	<groupId>org.infinispan</groupId>
> 	<artifactId>infinispan-cdi</artifactId>
> 	<version>5.1.0.ALPHA2</version>
> </dependency>
> {code}
> EXECUTE: Create the following bean:
> {code}
> @Stateless
> public class FooEJB {
>     @Inject
>     Cache<String, String> defaultCache;
> }
> {code}
> FAILURE: The injection is marked as a problem. It has unsatisfied dependency.
> ASSERT: Ctrl+Click on the injection. It should suggest opening org.infinispan.cdi.CacheManager.getAdvancedCache() producer.

--
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