About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Contexts And Dependency Injection (cdi)
Defines the behavior of the Contexts and Dependency Injection (CDI).
Name | Type | Default | Description |
---|---|---|---|
emptyBeansXmlCDI3Compatibility | boolean | 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. | |
enableImplicitBeanArchives | boolean | The implicit bean archives are scanned for any bean discoveries. The default value is true. Only applies to CDI 1.2 or newer. |