Class Jandex
java.lang.Object
org.jboss.weld.environment.deployment.discovery.jandex.Jandex
- Author:
- Tomas Remes
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic JandexDiscoveryStrategycreateJandexDiscoveryStrategy(org.jboss.weld.resources.spi.ResourceLoader resourceLoader, org.jboss.weld.bootstrap.api.Bootstrap bootstrap, Set<Class<? extends Annotation>> initialBeanDefiningAnnotations, org.jboss.weld.bootstrap.spi.BeanDiscoveryMode emptyBeansXmlDiscoveryMode) static booleanisJandexAvailable(org.jboss.weld.resources.spi.ResourceLoader resourceLoader)
-
Field Details
-
INDEX_ATTRIBUTE_NAME
-
JANDEX_DISCOVERY_STRATEGY_CLASS_NAME
- See Also:
-
DISABLE_JANDEX_DISCOVERY_STRATEGY
By default, when there is Jandex on classpath, it will be used for bean discovery. However, in some rare cases, other dependencies might bring in unwanted Jandex dependency which will cause problems. Setting this option to true will force a non-Jandex discovery strategy.- See Also:
-
-
Method Details
-
isJandexAvailable
public static boolean isJandexAvailable(org.jboss.weld.resources.spi.ResourceLoader resourceLoader) -
createJandexDiscoveryStrategy
public static JandexDiscoveryStrategy createJandexDiscoveryStrategy(org.jboss.weld.resources.spi.ResourceLoader resourceLoader, org.jboss.weld.bootstrap.api.Bootstrap bootstrap, Set<Class<? extends Annotation>> initialBeanDefiningAnnotations, org.jboss.weld.bootstrap.spi.BeanDiscoveryMode emptyBeansXmlDiscoveryMode) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException
-