Package io.ebeaninternal.api
Class ClassUtil
- java.lang.Object
-
- io.ebeaninternal.api.ClassUtil
-
-
Constructor Summary
Constructors Constructor Description ClassUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Class<?>
forName(String name)
Load a class taking into account a context class loader (if present).static Object
newInstance(String className)
Return a new instance of the class using the default constructor.
-
-
-
Constructor Detail
-
ClassUtil
public ClassUtil()
-
-
Method Detail
-
newInstance
public static Object newInstance(String className)
Return a new instance of the class using the default constructor.
-
forName
public static Class<?> forName(String name) throws ClassNotFoundException
Load a class taking into account a context class loader (if present).- Throws:
ClassNotFoundException
-
-