spring-framework / org.springframework.beans / CachedIntrospectionResults / clearClassLoader

clearClassLoader

open static fun clearClassLoader(@Nullable classLoader: ClassLoader): Unit

Clear the introspection cache for the given ClassLoader, removing the introspection results for all classes underneath that ClassLoader, and removing the ClassLoader (and its children) from the acceptance list.

Parameters

classLoader - the ClassLoader to clear the cache for