Top Description Constructors Methods
org.hibernate.boot.spi

public abstract Class ClassLoaderAccessDelegateImpl

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

A ClassLoaderAccess implementation based on delegation
Author
Steve Ebersole

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public <T> Class<T>
classForName(String
The name of the Class to get a reference to.
name
)

Implements org.hibernate.boot.spi.ClassLoaderAccess.classForName.

Obtain a Class reference by name
protected abstract ClassLoaderAccess
public URL
locateResource(String
The name of the resource to resolve.
resourceName
)

Implements org.hibernate.boot.spi.ClassLoaderAccess.locateResource.

Locate a resource by name
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ClassLoaderAccessDelegateImplback to summary
public ClassLoaderAccessDelegateImpl()

Method Detail

classForNameback to summary
public <T> Class<T> classForName(String name)

Implements org.hibernate.boot.spi.ClassLoaderAccess.classForName.

Doc from org.hibernate.boot.spi.ClassLoaderAccess.classForName.

Obtain a Class reference by name

Parameters
name:String

The name of the Class to get a reference to.

Returns:Class<T>

The Class.

Annotations
@Override
getDelegateback to summary
protected abstract ClassLoaderAccess getDelegate()
locateResourceback to summary
public URL locateResource(String resourceName)

Implements org.hibernate.boot.spi.ClassLoaderAccess.locateResource.

Doc from org.hibernate.boot.spi.ClassLoaderAccess.locateResource.

Locate a resource by name

Parameters
resourceName:String

The name of the resource to resolve.

Returns:URL

The located resource; may return null to indicate the resource was not found

Annotations
@Override