Class ClassLoaderAccessImpl

java.lang.Object
org.hibernate.boot.internal.ClassLoaderAccessImpl
All Implemented Interfaces:
ClassLoaderAccess

public class ClassLoaderAccessImpl extends Object implements ClassLoaderAccess
Standard implementation of ClassLoaderAccess
  • Constructor Details

  • Method Details

    • injectTempClassLoader

      public void injectTempClassLoader(ClassLoader jpaTempClassLoader)
    • classForName

      public Class<?> classForName(String name)
      Description copied from interface: ClassLoaderAccess
      Obtain a Class reference by name
      Specified by:
      classForName in interface ClassLoaderAccess
      Parameters:
      name - The name of the class
      Returns:
      The Class object with the given name
    • getJpaTempClassLoader

      public ClassLoader getJpaTempClassLoader()
    • locateResource

      public URL locateResource(String resourceName)
      Description copied from interface: ClassLoaderAccess
      Locate a resource by name
      Specified by:
      locateResource in interface ClassLoaderAccess
      Parameters:
      resourceName - The name of the resource to resolve
      Returns:
      The located resource; may return null to indicate the resource was not found
    • release

      public void release()