Package org.hibernate.boot.spi
Interface ClassLoaderAccess
-
- All Known Implementing Classes:
ClassLoaderAccessDelegateImpl
,ClassLoaderAccessImpl
,ClassLoaderAccessLazyImpl
,ClassLoaderAccessTestingImpl
public interface ClassLoaderAccess
During the process of building this metamodel, accessing the ClassLoader is very discouraged. However, sometimes it is needed. This contract helps mitigate accessing the ClassLoader in these cases.- Since:
- 5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Class<T>
classForName(String name)
Obtain a Class reference by nameURL
locateResource(String resourceName)
Locate a resource by name
-