Package org.apache.heron.spi.utils
Class ReflectionUtils
- java.lang.Object
-
- java.lang.ClassLoader
-
- org.apache.heron.spi.utils.ReflectionUtils
-
public final class ReflectionUtils extends ClassLoader
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
newInstance(ClassLoader classLoader, String className)
static <T> T
newInstance(String className)
-
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findClass, findLibrary, findLoadedClass, findResource, findResource, findResources, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
-
-
-
Method Detail
-
newInstance
public static <T> T newInstance(String className) throws ClassNotFoundException, InstantiationException, IllegalAccessException
-
newInstance
public static <T> T newInstance(ClassLoader classLoader, String className) throws ClassNotFoundException, IllegalAccessException, InstantiationException
-
-