public interface SmartClassLoader
If a ClassLoader does not implement this interface, then all of the classes obtained from it should be considered as not reloadable (i.e. cacheable).
Modifier and Type | Method and Description |
---|---|
boolean |
isClassReloadable(Class<?> clazz)
Determine whether the given class is reloadable (in this ClassLoader).
|
boolean isClassReloadable(Class<?> clazz)
Typically used to check whether the result may be cached (for this ClassLoader) or whether it should be reobtained every time.
clazz
- the class to check (usually loaded from this ClassLoader)Class
object) later on