public class JandexDiscoveryStrategy extends AbstractDiscoveryStrategy
DiscoveryStrategy
that is used when the jandex is available.bootstrap, initialBeanDefiningAnnotations, resourceLoader, scanner
Constructor and Description |
---|
JandexDiscoveryStrategy(ResourceLoader resourceLoader,
Bootstrap bootstrap,
java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> initialBeanDefiningAnnotations) |
Modifier and Type | Method and Description |
---|---|
protected void |
beforeDiscovery(java.util.Collection<BeanArchiveBuilder> builders)
Initialize the strategy before accessing found BeanArchiveBuilder builders.
|
ClassFileServices |
getClassFileServices() |
CompositeIndex |
getCompositeJandexIndex() |
protected WeldBeanDeploymentArchive |
processAnnotatedDiscovery(BeanArchiveBuilder builder)
Process the bean archive with bean-discovery-mode of annotated.
|
addToArchives, afterDiscovery, assignVisibility, getResourceLoader, performDiscovery, processAllDiscovery, processNoneDiscovery, registerHandler, setScanner
public JandexDiscoveryStrategy(ResourceLoader resourceLoader, Bootstrap bootstrap, java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> initialBeanDefiningAnnotations)
public ClassFileServices getClassFileServices()
getClassFileServices
in interface DiscoveryStrategy
getClassFileServices
in class AbstractDiscoveryStrategy
ClassFileServices
or null
protected void beforeDiscovery(java.util.Collection<BeanArchiveBuilder> builders)
AbstractDiscoveryStrategy
beforeDiscovery
in class AbstractDiscoveryStrategy
protected WeldBeanDeploymentArchive processAnnotatedDiscovery(BeanArchiveBuilder builder)
AbstractDiscoveryStrategy
processAnnotatedDiscovery
in class AbstractDiscoveryStrategy
public CompositeIndex getCompositeJandexIndex()
Copyright © 2014. All Rights Reserved.