Package org.jboss.weld.junit5.auto
Annotation Type SetBeanDiscoveryMode
-
@Retention(RUNTIME) @Target(TYPE) @Inherited public @interface SetBeanDiscoveryMode
Sets discovery mode for Weld SE synthetic bean archive. Valid options areBeanDiscoveryMode.ALLandBeanDiscoveryMode.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 modeALL.This annotation is equal to invocation of
Weld.setBeanDiscoveryMode(BeanDiscoveryMode).
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description org.jboss.weld.bootstrap.spi.BeanDiscoveryModevalue
-