[
https://issues.jboss.org/browse/JBIDE-9763?page=com.atlassian.jira.plugin...
]
Jaroslav Jankovič closed JBIDE-9763.
------------------------------------
Verified with 3.3.0.v20120421-1619-H4711-Beta3
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.
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