public final class ClassInitializerUtil
extends java.lang.Object
ClassLoader
.限定符和类型 | 方法和说明 |
---|---|
static void |
tryLoadClasses(java.lang.Class<?> loadingClass,
java.lang.Class<?>... classes)
Preload the given classes and so ensure the
ClassLoader has these loaded after this method call. |
public static void tryLoadClasses(java.lang.Class<?> loadingClass, java.lang.Class<?>... classes)
ClassLoader
has these loaded after this method call.loadingClass
- the Class
that wants to load the classes.classes
- the classes to load.