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

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Thu Sep 22 13:54:26 EDT 2011


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