public final class BlacklistClassloading extends Object
Class.forName(String) operation by caching already found class
objects and blacklisting classes that have been requested to be loaded but could not be found. IMPORTANT: Do
not use if your environment is dynamic in a way that new classes are defined at runtime!| Modifier and Type | Method and Description |
|---|---|
static Class<?> |
forName(String classname)
Loads the class with the given class name using.
|
public static Class<?> forName(String classname)
Class.forName(java.lang.String). If loading
has already been tried but the class was not found null is returned directly. If loading has already
been tried and the class was successfully loaded before the Class object is returned directly.classname - canonical name of the class that shall be loadedCopyright © 2012–2026 cismet GmbH. All rights reserved.