public class JandexClassFileServices extends Object implements ClassFileServices
ClassFileServices), which is a service that is a faster alternative to get info about class without a need to load it
with ClassLoader.| Constructor and Description |
|---|
JandexClassFileServices(JandexDiscoveryStrategy strategy) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
Called by Weld when it is shutting down, allowing the service to perform any cleanup needed.
|
void |
cleanupAfterBoot()
Called by Weld once it finishes initialization and before it starts serving requests.
|
ClassFileInfo |
getClassFileInfo(String className)
Obtains Java class metadata for a class identified with the specified class name.
|
public JandexClassFileServices(JandexDiscoveryStrategy strategy)
public ClassFileInfo getClassFileInfo(String className)
ClassFileServicesgetClassFileInfo in interface ClassFileServicesclassName - the specified class namepublic void cleanupAfterBoot()
BootstrapServicecleanupAfterBoot in interface BootstrapServiceCopyright © 2016. All Rights Reserved.