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, wait
finish, isReportingEnabled, reportBeanPresent, reportMissing, reportPresent
public static final String REFLECTION_JSON_FILE
public static final String GRAAL_CLASS_ANALYSIS
public GraalClassLoadingReporter()
public boolean isEnabled()
isEnabled
in interface Toggleable
public void onPresent(Class<?> type)
ClassLoadingReporter
onPresent
in interface ClassLoadingReporter
type
- The typepublic void onBeanPresent(Class<?> type)
ClassLoadingReporter
ClassLoadingReporter.onPresent(Class)
but listeners may want to treat POJO beans differently.onBeanPresent
in interface ClassLoadingReporter
type
- The typepublic void onMissing(String name)
ClassLoadingReporter
onMissing
in interface ClassLoadingReporter
name
- The name of the classpublic void close()
close
in interface ClassLoadingReporter
close
in interface AutoCloseable