Package io.netty.util.internal
Class ClassInitializerUtil
- java.lang.Object
-
- io.netty.util.internal.ClassInitializerUtil
-
public final class ClassInitializerUtil extends java.lang.ObjectUtility which ensures that classes are loaded by theClassLoader.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidtryLoadClasses(java.lang.Class<?> loadingClass, java.lang.Class<?>... classes)Preload the given classes and so ensure theClassLoaderhas these loaded after this method call.
-
-
-
Method Detail
-
tryLoadClasses
public static void tryLoadClasses(java.lang.Class<?> loadingClass, java.lang.Class<?>... classes)Preload the given classes and so ensure theClassLoaderhas these loaded after this method call.- Parameters:
loadingClass- theClassthat wants to load the classes.classes- the classes to load.
-
-