Package org.joinfaces.weld
Class ClassGraphDiscoveryStrategy
java.lang.Object
org.jboss.weld.environment.deployment.discovery.AbstractDiscoveryStrategy
org.joinfaces.weld.ClassGraphDiscoveryStrategy
- All Implemented Interfaces:
DiscoveryStrategy
ClassGraph based alternative to
JandexDiscoveryStrategy
.- See Also:
-
Field Summary
Fields inherited from class org.jboss.weld.environment.deployment.discovery.AbstractDiscoveryStrategy
bootstrap, initialBeanDefiningAnnotations, resourceLoader, scanner
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
afterDiscovery
(Set<WeldBeanDeploymentArchive> archives) protected void
beforeDiscovery
(Collection<BeanArchiveBuilder> builders) protected boolean
hasBeanDefiningAnnotation
(io.github.classgraph.ClassInfo classInfo) protected WeldBeanDeploymentArchive
Methods inherited from class org.jboss.weld.environment.deployment.discovery.AbstractDiscoveryStrategy
addToArchives, getClassFileServices, performDiscovery, processAllDiscovery, processNoneDiscovery, registerHandler, setBootstrap, setInitialBeanDefiningAnnotations, setResourceLoader, setScanner
-
Constructor Details
-
ClassGraphDiscoveryStrategy
public ClassGraphDiscoveryStrategy()
-
-
Method Details
-
beforeDiscovery
- Overrides:
beforeDiscovery
in classAbstractDiscoveryStrategy
-
processAnnotatedDiscovery
- Overrides:
processAnnotatedDiscovery
in classAbstractDiscoveryStrategy
-
hasBeanDefiningAnnotation
protected boolean hasBeanDefiningAnnotation(io.github.classgraph.ClassInfo classInfo) -
afterDiscovery
- Overrides:
afterDiscovery
in classAbstractDiscoveryStrategy
-