Top Description Methods
org.hibernate.boot

public Interface ResourceLocator

Known Direct Subinterfaces
org.hibernate.boot.registry.classloading.spi.ClassLoaderService
Known Direct Implementers
org.hibernate.boot.internal.SimpleResourceLocator, org.hibernate.boot.internal.StandardResourceLocator
Annotations
@FunctionalInterface
Imports
java.net.URL

Abstraction for locating class-path resources
Author
Steve Ebersole
See Also
ResourceStreamLocator

Method Summary

Modifier and TypeMethod and Description
public URL

Returns:

The located URL, or null if no match found
locateResource
(String
The resource name to locate
resourceName
)

Locate the named resource

Method Detail

locateResourceback to summary
public URL locateResource(String resourceName)

Locate the named resource

Parameters
resourceName:String

The resource name to locate

Returns:URL

The located URL, or null if no match found