org.apache.tapestry.enhance
Class EnhancedClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by 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

Constructor Summary
EnhancedClassLoader(ClassLoader parentClassLoader)
           
 
Method Summary
 Class defineClass(String enhancedClassName, byte[] byteCode, ProtectionDomain domain)
          Defines the new class.
 
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
 

Constructor Detail

EnhancedClassLoader

public EnhancedClassLoader(ClassLoader parentClassLoader)
Method Detail

defineClass

public Class defineClass(String enhancedClassName,
                         byte[] byteCode,
                         ProtectionDomain domain)
Defines the new class.

Throws:
ApplicationRuntimeException - if defining the class fails.