-
Bug
-
Resolution: Done
-
Major
-
3.3.0.M3
-
None
CDI extensions are loaded only if they are declared in jar files. We should load them from source folders too.
EXECUTE: Create two CDI projects: Project A and B. Project A should be included in the class path of project B.
EXECUTE: Create a file A/<sourceFolder>/META-INF/services/javax.enterprise.inject.spi.Extension
EXECUTE: Add the following text to the service file:
org.jboss.seam.servlet.ServletExtension
EXECUTE: Create any bean in project B and add the following injection point to the bean:
@Inject @RequestParam("id") private String bookId;
ASSERT: bookId is not marked as unsatisfied dependency. <- Failure
EXECUTE: Remove A/<sourceFolder>/META-INF/services/javax.enterprise.inject.spi.Extension
EXECUTE: Build the projects.
ASSERT: bookId is marked as unsatisfied dependency.
- is related to
-
JBIDE-9400 Tooling shows warning for Seam 3 Persistence created EntityManager injection
- Closed