@Deprecated public interface ClassLoadingReporter extends AutoCloseable, Toggleable
close() method will be called when the application terminates.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
|
static void |
finish()
Deprecated.
Finish reporting classloading.
|
static boolean |
isReportingEnabled()
Deprecated.
Whether report is enabled.
|
void |
onBeanPresent(Class<?> type)
Deprecated.
Called when a bean is present.
|
void |
onMissing(String name)
Deprecated.
Called when a class is missing.
|
void |
onPresent(Class<?> type)
Deprecated.
Called when a class is present.
|
static void |
reportBeanPresent(Class<?> type)
Deprecated.
Report a class that is present.
|
static void |
reportMissing(String type)
Deprecated.
Report a class that is present.
|
static void |
reportPresent(Class<?> type)
Deprecated.
Report a class that is present.
|
isEnabledvoid onPresent(Class<?> type)
type - The typevoid onBeanPresent(Class<?> type)
onPresent(Class) but listeners may want to treat POJO beans differently.type - The typevoid onMissing(String name)
name - The name of the classvoid close()
close in interface AutoCloseablestatic boolean isReportingEnabled()
static void reportPresent(Class<?> type)
type - The typestatic void reportBeanPresent(Class<?> type)
type - The typestatic void reportMissing(String type)
type - The typestatic void finish()