Why are CDI beans not detected if the beans.xml is removed from the module in EAP7 this is part of the CDI 1.1 specification
Issue
- I have a module with different CDI beans but not all are correctly working if I remove the empty beans.xml. As this is part of the CDI 1.1 specification I expect this to work. Is this a bug?
- What is the difference between explicit and implicit detection of CDI beans for a module?
- If a module contains a class which extends
javax.enterprise.inject.spi.Extensionan no beans.xml no CDI annotations are processed, why it is not working without beans.xml?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.x
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.