public final class ClassInitializerUtil extends Object
ClassLoader
.Modifier and Type | Method and Description |
---|---|
static void |
tryLoadClasses(Class<?> loadingClass,
Class<?>... classes)
Preload the given classes and so ensure the
ClassLoader has these loaded after this method call. |
public static void tryLoadClasses(Class<?> loadingClass, Class<?>... classes)
ClassLoader
has these loaded after this method call.loadingClass
- the Class
that wants to load the classes.classes
- the classes to load.Copyright © 2008–2024 The Netty Project. All rights reserved.