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