Top Description Fields Constructors Methods
org.hibernate.boot.internal

public Class StandardResourceLocator

extends Object
implements ResourceLocator
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.ResourceLocator
Imports
java.net.URL, org.hibernate.boot.ResourceLocator, org.hibernate.boot.registry.classloading.spi.ClassLoaderService

Standard implementation of ResourceLocator delegating to the ClassLoaderService
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final ClassLoaderService

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public URL
locateResource(String
The resource name to locate
resourceName
)

Implements org.hibernate.boot.ResourceLocator.locateResource.

Locate the named resource
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

classLoaderServiceback to summary
private final ClassLoaderService classLoaderService

Constructor Detail

StandardResourceLocatorback to summary
public StandardResourceLocator(ClassLoaderService classLoaderService)

Method Detail

locateResourceback to summary
public URL locateResource(String resourceName)

Implements org.hibernate.boot.ResourceLocator.locateResource.

Doc from org.hibernate.boot.ResourceLocator.locateResource.

Locate the named resource

Parameters
resourceName:String

The resource name to locate

Returns:URL

The located URL, or null if no match found

Annotations
@Override