Package org.hibernate.boot.internal
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 Summary
Constructors Constructor Description StandardResourceLocator(ClassLoaderService classLoaderService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URL
locateResource(String resourceName)
Locate the named resource
-
-
-
Constructor Detail
-
StandardResourceLocator
public StandardResourceLocator(ClassLoaderService classLoaderService)
-
-
Method Detail
-
locateResource
public URL locateResource(String resourceName)
Description copied from interface:ResourceLocator
Locate the named resource- Specified by:
locateResource
in interfaceResourceLocator
- Parameters:
resourceName
- The resource name to locate- Returns:
- The located URL, or
null
if no match found
-
-