Contexts And Dependency Injection (cdi)

Defines the behavior of the Contexts and Dependency Injection (CDI).

Name Type Default Description



CDI 4.0 and later consider an archive with an empty beans.xml file to be an implicit bean archive (bean-discovery-mode=ANNOTATED). This property allows an empty beans.xml file to be treated as it was in CDI 3.0 (bean-discovery-mode=ALL). The default value is false. Only applies to CDI 4.0 or newer.



The implicit bean archives are scanned for any bean discoveries. The default value is true. Only applies to CDI 1.2 or newer.