Package org.joinfaces.weld
Class ClassGraphDiscoveryStrategy
java.lang.Object
org.jboss.weld.environment.deployment.discovery.AbstractDiscoveryStrategy
org.joinfaces.weld.ClassGraphDiscoveryStrategy
- All Implemented Interfaces:
org.jboss.weld.environment.deployment.discovery.DiscoveryStrategy
public class ClassGraphDiscoveryStrategy
extends org.jboss.weld.environment.deployment.discovery.AbstractDiscoveryStrategy
ClassGraph based alternative to
JandexDiscoveryStrategy
.- See Also:
-
JandexDiscoveryStrategy
-
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<org.jboss.weld.environment.deployment.WeldBeanDeploymentArchive> archives) protected void
beforeDiscovery
(Collection<org.jboss.weld.environment.deployment.discovery.BeanArchiveBuilder> builders) protected boolean
hasBeanDefiningAnnotation
(io.github.classgraph.ClassInfo classInfo) protected org.jboss.weld.environment.deployment.WeldBeanDeploymentArchive
processAnnotatedDiscovery
(org.jboss.weld.environment.deployment.discovery.BeanArchiveBuilder builder) 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
protected void beforeDiscovery(Collection<org.jboss.weld.environment.deployment.discovery.BeanArchiveBuilder> builders) - Overrides:
beforeDiscovery
in classorg.jboss.weld.environment.deployment.discovery.AbstractDiscoveryStrategy
-
processAnnotatedDiscovery
protected org.jboss.weld.environment.deployment.WeldBeanDeploymentArchive processAnnotatedDiscovery(org.jboss.weld.environment.deployment.discovery.BeanArchiveBuilder builder) - Overrides:
processAnnotatedDiscovery
in classorg.jboss.weld.environment.deployment.discovery.AbstractDiscoveryStrategy
-
hasBeanDefiningAnnotation
protected boolean hasBeanDefiningAnnotation(io.github.classgraph.ClassInfo classInfo) -
afterDiscovery
protected void afterDiscovery(Set<org.jboss.weld.environment.deployment.WeldBeanDeploymentArchive> archives) - Overrides:
afterDiscovery
in classorg.jboss.weld.environment.deployment.discovery.AbstractDiscoveryStrategy
-