Class ClassLoaderAccessHelper
- java.lang.Object
-
- org.hibernate.envers.boot.registry.classloading.ClassLoaderAccessHelper
-
public final class ClassLoaderAccessHelper extends Object
Utility class that facilitates loading of a class.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Class<?>
loadClass(EnversMetadataBuildingContext metadataBuildingContext, String className)
Loads a class by name.
-
-
-
Method Detail
-
loadClass
public static Class<?> loadClass(EnversMetadataBuildingContext metadataBuildingContext, String className)
Loads a class by name.- Parameters:
metadataBuildingContext
- the metadata building contextclassName
- the class to be loaded- Returns:
- the loaded class instance
- Throws:
ClassLoadingException
- if there was an error loading the named class
-
-