[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-9484) CDI beans created by extensions are not loaded by child projects
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Mon Aug 15 20:25:02 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-9484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Kazakov updated JBIDE-9484:
----------------------------------
Steps to Reproduce:
EXECUTE: Import the following projects as existing projects:
https://svn.jboss.org/repos/jbosstools/trunk/cdi/tests/org.jboss.tools.cdi.seam.core.test/projects/Seam3DependentPersistenceTest
https://svn.jboss.org/repos/jbosstools/trunk/cdi/tests/org.jboss.tools.cdi.seam.core.test/projects/Seam3PersistenceTest
EXECUTE: Build the projects.
EXECUTE: Open /Seam3PersistenceTest/src/test/EntityManagerTest.java
ASSERT: There is no ambiguous dependency for the following injection point:
{code}
@Inject
@MyQualifier
EntityManager manager;
{code}
EXECUTE: Ctrl+Click on the injection
ASSERT: It opens EntityManagerTest.managerFactory
EXECUTE: Open /Seam3DependentPersistenceTest/src/test/EntityManager2Test.java
ASSERT: There is no ambiguous dependency for the following injection point:
{code}
@Inject
@MyQualifier
EntityManager manager;
{code}
EXECUTE: Ctrl+Click on the injection
ASSERT: It opens EntityManagerTest.managerFactory
> CDI beans created by extensions are not loaded by child projects
> ----------------------------------------------------------------
>
> Key: JBIDE-9484
> URL: https://issues.jboss.org/browse/JBIDE-9484
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdi extensions
> Affects Versions: 3.3.0.M3
> Reporter: Alexey Kazakov
> Assignee: Alexey Kazakov
> Fix For: 3.3.0.M3
>
>
> Suppose we have two projects: A and B. A is included in B's class path.
> If some CDI extensions dynamically creates beans for project A then those beans are not available for project B. This is a bug.
--
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