Package org.jboss.weld.junit5.auto
Annotation Interface SetBeanDiscoveryMode
Sets discovery mode for Weld SE synthetic bean archive. Valid options are
BeanDiscoveryMode.ALL and
BeanDiscoveryMode.ANNOTATED.
Starting with Weld 5 (CDI 4), the default value is ANNOTATED. Applications can leverage this annotation to
enforce same behavior as older Weld versions where synthetic archives used discovery mode ALL.
This annotation is equal to invocation of Weld.setBeanDiscoveryMode(BeanDiscoveryMode).
-
Required Element Summary
Required Elements
-
Element Details
-
value
org.jboss.weld.bootstrap.spi.BeanDiscoveryMode value
-