Class StandardResourceLocator

java.lang.Object
org.hibernate.boot.internal.StandardResourceLocator
All Implemented Interfaces:
ResourceLocator

public class StandardResourceLocator extends Object implements ResourceLocator
Standard implementation of ResourceLocator delegating to the ClassLoaderService
  • Constructor Details

    • StandardResourceLocator

      public StandardResourceLocator(ClassLoaderService classLoaderService)
  • Method Details

    • locateResource

      public URL locateResource(String resourceName)
      Description copied from interface: ResourceLocator
      Locate the named resource
      Specified by:
      locateResource in interface ResourceLocator
      Parameters:
      resourceName - The resource name to locate
      Returns:
      The located URL, or null if no match found