public class GraalClassLoadingReporter extends Object implements ClassLoadingReporter
| Modifier and Type | Field and Description |
|---|---|
static String |
GRAAL_CLASS_ANALYSIS
System property that indicates whether class analysis is is enabled.
|
static String |
REFLECTION_JSON_FILE
System property that indicates the location of the reflection JSON file.
|
| Constructor and Description |
|---|
GraalClassLoadingReporter()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isEnabled() |
void |
onBeanPresent(Class<?> type)
Called when a bean is present.
|
void |
onMissing(String name)
Called when a class is missing.
|
void |
onPresent(Class<?> type)
Called when a class is present.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfinish, isReportingEnabled, reportBeanPresent, reportMissing, reportPresentpublic static final String REFLECTION_JSON_FILE
public static final String GRAAL_CLASS_ANALYSIS
public GraalClassLoadingReporter()
public boolean isEnabled()
isEnabled in interface Toggleablepublic void onPresent(Class<?> type)
ClassLoadingReporteronPresent in interface ClassLoadingReportertype - The typepublic void onBeanPresent(Class<?> type)
ClassLoadingReporterClassLoadingReporter.onPresent(Class) but listeners may want to treat POJO beans differently.onBeanPresent in interface ClassLoadingReportertype - The typepublic void onMissing(String name)
ClassLoadingReporteronMissing in interface ClassLoadingReportername - The name of the classpublic void close()
close in interface ClassLoadingReporterclose in interface AutoCloseable