@Deprecated public interface ClassLoadingReporter extends java.lang.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(java.lang.Class<?> type)
Deprecated.
Called when a bean is present.
|
void |
onMissing(java.lang.String name)
Deprecated.
Called when a class is missing.
|
void |
onPresent(java.lang.Class<?> type)
Deprecated.
Called when a class is present.
|
static void |
reportBeanPresent(java.lang.Class<?> type)
Deprecated.
Report a class that is present.
|
static void |
reportMissing(java.lang.String type)
Deprecated.
Report a class that is present.
|
static void |
reportPresent(java.lang.Class<?> type)
Deprecated.
Report a class that is present.
|
isEnabled
void onPresent(java.lang.Class<?> type)
type
- The typevoid onBeanPresent(java.lang.Class<?> type)
onPresent(Class)
but listeners may want to treat POJO beans differently.type
- The typevoid onMissing(java.lang.String name)
name
- The name of the classvoid close()
close
in interface java.lang.AutoCloseable
static boolean isReportingEnabled()
static void reportPresent(java.lang.Class<?> type)
type
- The typestatic void reportBeanPresent(java.lang.Class<?> type)
type
- The typestatic void reportMissing(java.lang.String type)
type
- The typestatic void finish()