Package org.hibernate.boot.spi
Interface ClassLoaderAccess
-
- All Known Implementing Classes:
ClassLoaderAccessImpl
,ClassLoaderAccessLazyImpl
,ClassLoaderAccessTestingImpl
public interface ClassLoaderAccess
During the process of building the metamodel, access to theClassLoader
is strongly discouraged. However, sometimes it is needed. This contract helps mitigate access to theClassLoader
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 aClass
reference by nameURL
locateResource(String resourceName)
Locate a resource by name
-