Top Fields Constructors Methods
org.apache.derby.impl.services.reflect

pack-priv final Class ReflectLoaderJava2

extends ClassLoader
Class Inheritance
Imports
org.apache.derby.iapi.util.ByteArray

Field Summary

Modifier and TypeField and Description
private final DatabaseClasses

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected Class<T>
findClass(String
The binary name of the class
name
)

Overrides java.lang.ClassLoader.findClass.

Finds the class with the specified binary name.

pack-priv LoadedGeneratedClass
loadGeneratedClass(String name, ByteArray classData)

Load a generated class from the passed in class data.

Inherited from java.lang.ClassLoader:
clearAssertionStatusdefineClassdefineClassdefineClassdefineClassdefinePackagefindClassfindLibraryfindLoadedClassfindResourcefindResourcefindResourcesfindSystemClassgetClassLoadingLockgetDefinedPackagegetDefinedPackagesgetNamegetPackagegetPackagesgetParentgetPlatformClassLoadergetResourcegetResourceAsStreamgetResourcesgetSystemClassLoadergetSystemResourcegetSystemResourceAsStreamgetSystemResourcesgetUnnamedModuleisRegisteredAsParallelCapableloadClassloadClassregisterAsParallelCapableresolveClassresourcessetClassAssertionStatussetDefaultAssertionStatussetPackageAssertionStatussetSigners

Field Detail

cfback to summary
private final DatabaseClasses cf

Constructor Detail

ReflectLoaderJava2back to summary
pack-priv ReflectLoaderJava2(ClassLoader parent, DatabaseClasses cf)

Method Detail

findClassback to summary
protected Class<T> findClass(String name) throws ClassNotFoundException

Overrides java.lang.ClassLoader.findClass.

Doc from java.lang.ClassLoader.findClass.

Finds the class with the specified binary name. This method should be overridden by class loader implementations that follow the delegation model for loading classes, and will be invoked by the loadClass method after checking the parent class loader for the requested class.

Parameters
name:String

The binary name of the class

Returns:Class<T>

The resulting Class object

Exceptions
ClassNotFoundException:
If the class could not be found
loadGeneratedClassback to summary
pack-priv LoadedGeneratedClass loadGeneratedClass(String name, ByteArray classData)

Load a generated class from the passed in class data.