public class JandexDiscoveryStrategy extends AbstractDiscoveryStrategy
DiscoveryStrategy that is used when the jandex is available.bootstrap, initialBeanDefiningAnnotations, resourceLoader, scanner| Constructor and Description |
|---|
JandexDiscoveryStrategy(org.jboss.weld.resources.spi.ResourceLoader resourceLoader,
org.jboss.weld.bootstrap.api.Bootstrap bootstrap,
Set<Class<? extends Annotation>> initialBeanDefiningAnnotations) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
beforeDiscovery(Collection<BeanArchiveBuilder> builders)
Initialize the strategy before accessing found BeanArchiveBuilder builders.
|
org.jboss.weld.resources.spi.ClassFileServices |
getClassFileServices() |
org.jboss.jandex.CompositeIndex |
getCompositeJandexIndex() |
protected WeldBeanDeploymentArchive |
processAnnotatedDiscovery(BeanArchiveBuilder builder)
Process the bean archive with bean-discovery-mode of annotated.
|
addToArchives, afterDiscovery, performDiscovery, processAllDiscovery, processNoneDiscovery, registerHandler, setScannerpublic JandexDiscoveryStrategy(org.jboss.weld.resources.spi.ResourceLoader resourceLoader, org.jboss.weld.bootstrap.api.Bootstrap bootstrap, Set<Class<? extends Annotation>> initialBeanDefiningAnnotations)
public org.jboss.weld.resources.spi.ClassFileServices getClassFileServices()
getClassFileServices in interface DiscoveryStrategygetClassFileServices in class AbstractDiscoveryStrategyClassFileServices or nullprotected void beforeDiscovery(Collection<BeanArchiveBuilder> builders)
AbstractDiscoveryStrategybeforeDiscovery in class AbstractDiscoveryStrategyprotected WeldBeanDeploymentArchive processAnnotatedDiscovery(BeanArchiveBuilder builder)
AbstractDiscoveryStrategyprocessAnnotatedDiscovery in class AbstractDiscoveryStrategypublic org.jboss.jandex.CompositeIndex getCompositeJandexIndex()
Copyright © 2018. All rights reserved.