org.apache.tapestry.enhance
Class EnhancedClassLoader
java.lang.Object
java.lang.ClassLoader
org.apache.tapestry.enhance.EnhancedClassLoader
public class EnhancedClassLoader
- extends ClassLoader
A class loader that can be used to create new classes
as needed.
- Since:
- 3.0
- Version:
- $Id: EnhancedClassLoader.java 243876 2004-04-05 15:51:22Z hlship $
- Author:
- Howard Lewis Ship
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnhancedClassLoader
public EnhancedClassLoader(ClassLoader parentClassLoader)
defineClass
public Class defineClass(String enhancedClassName,
byte[] byteCode,
ProtectionDomain domain)
- Defines the new class.
- Throws:
ApplicationRuntimeException
- if defining the class fails.