Top Fields Constructors Methods
org.springframework.cglib.transform

public abstract Class AbstractClassLoader

extends ClassLoader
Class Inheritance
Known Direct Subclasses
org.springframework.cglib.transform.TransformingClassLoader
Annotations
@SuppressWarnings:rawtypes, unchecked
Imports
java.io.IOException, org.springframework.asm.Attribute, .ClassReader, .ClassWriter, org.springframework.cglib.core.ClassGenerator, .CodeGenerationException, .DebuggingClassWriter

Field Summary

Modifier and TypeField and Description
private ClassLoader
private static ProtectionDomain
private ClassFilter

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
protected Attribute[]
protected int
protected ClassGenerator
public Class<T>
loadClass(String
The binary name of the class
name
)

Overrides java.lang.ClassLoader.loadClass.

Loads the class with the specified binary name.

protected void
Inherited from java.lang.ClassLoader:
clearAssertionStatusdefineClassdefineClassdefineClassdefineClassdefinePackagefindClassfindClassfindLibraryfindLoadedClassfindResourcefindResourcefindResourcesfindSystemClassgetClassLoadingLockgetDefinedPackagegetDefinedPackagesgetNamegetPackagegetPackagesgetParentgetPlatformClassLoadergetResourcegetResourceAsStreamgetResourcesgetSystemClassLoadergetSystemResourcegetSystemResourceAsStreamgetSystemResourcesgetUnnamedModuleisRegisteredAsParallelCapableloadClassregisterAsParallelCapableresolveClassresourcessetClassAssertionStatussetDefaultAssertionStatussetPackageAssertionStatussetSigners

Field Detail

classPathback to summary
private ClassLoader classPath
DOMAINback to summary
private static ProtectionDomain DOMAIN
filterback to summary
private ClassFilter filter

Constructor Detail

AbstractClassLoaderback to summary
protected AbstractClassLoader(ClassLoader parent, ClassLoader classPath, ClassFilter filter)

Method Detail

attributesback to summary
protected Attribute[] attributes()
getFlagsback to summary
protected int getFlags()
getGeneratorback to summary
protected ClassGenerator getGenerator(ClassReader r)
loadClassback to summary
public Class<T> loadClass(String name) throws ClassNotFoundException

Overrides java.lang.ClassLoader.loadClass.

Doc from java.lang.ClassLoader.loadClass.

Loads the class with the specified binary name. This method searches for classes in the same manner as the loadClass(String, boolean) method. It is invoked by the Java virtual machine to resolve class references. Invoking this method is equivalent to invoking loadClass(name, false).

Parameters
name:String

The binary name of the class

Returns:Class<T>

The resulting Class object

Annotations
@Override
Exceptions
ClassNotFoundException:
If the class was not found
postProcessback to summary
protected void postProcess(Class<T> c)