public final class ReflectHelper extends Object
Modifier and Type | Method and Description |
---|---|
static Class |
classForName(String name,
Class caller)
Deprecated.
Deprecated in favor of
ClassLoaderDelegate |
@Deprecated public static Class classForName(String name, Class caller) throws ClassNotFoundException
ClassLoaderDelegate
Here we first check the context classloader, if one, before delegating to
Class.forName(String, boolean, ClassLoader)
using the caller's classloader
name
- The class namecaller
- The class from which this call originated (in order to access that class's loader).ClassNotFoundException
- From Class.forName(String, boolean, ClassLoader)
.Copyright © 2018 JBoss by Red Hat. All rights reserved.