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

public Class SimpleResourceLocator

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

Simple ResourceLocator impl using its own ClassLoader to locate the resource
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final SimpleResourceLocator
INSTANCE

Singleton access

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

INSTANCEback to summary
public static final SimpleResourceLocator INSTANCE

Singleton access

Constructor Detail

SimpleResourceLocatorback to summary
public SimpleResourceLocator()

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