Class JandexClassFileServices
- java.lang.Object
-
- org.jboss.weld.environment.deployment.discovery.jandex.JandexClassFileServices
-
- All Implemented Interfaces:
org.jboss.weld.bootstrap.api.BootstrapService
,org.jboss.weld.bootstrap.api.Service
,org.jboss.weld.resources.spi.ClassFileServices
public class JandexClassFileServices extends Object implements org.jboss.weld.resources.spi.ClassFileServices
Jandex implementation of theClassFileServices
), which is a service that is a faster alternative to get info about class without a need to load it with ClassLoader.- Author:
- Matej Briškár
-
-
Constructor Summary
Constructors Constructor Description JandexClassFileServices(JandexDiscoveryStrategy strategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup()
void
cleanupAfterBoot()
org.jboss.weld.resources.spi.ClassFileInfo
getClassFileInfo(String className)
-
-
-
Constructor Detail
-
JandexClassFileServices
public JandexClassFileServices(JandexDiscoveryStrategy strategy)
-
-
Method Detail
-
getClassFileInfo
public org.jboss.weld.resources.spi.ClassFileInfo getClassFileInfo(String className)
- Specified by:
getClassFileInfo
in interfaceorg.jboss.weld.resources.spi.ClassFileServices
-
cleanupAfterBoot
public void cleanupAfterBoot()
- Specified by:
cleanupAfterBoot
in interfaceorg.jboss.weld.bootstrap.api.BootstrapService
-
cleanup
public void cleanup()
- Specified by:
cleanup
in interfaceorg.jboss.weld.bootstrap.api.Service
-
-