Class ClassInitializerUtil
java.lang.Object
io.netty.util.internal.ClassInitializerUtil
Utility which ensures that classes are loaded by the
ClassLoader.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidtryLoadClass(ClassLoader classLoader, String className) static voidtryLoadClasses(Class<?> loadingClass, Class<?>... classes) Preload the given classes and so ensure theClassLoaderhas these loaded after this method call.
-
Constructor Details
-
ClassInitializerUtil
private ClassInitializerUtil()
-
-
Method Details
-
tryLoadClasses
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.
-
tryLoadClass
-