Package org.apache.tapestry5.internal

# Class ThrowawayClassLoader

java.lang.Object
java.lang.ClassLoader
org.apache.tapestry5.internal.ThrowawayClassLoader

public class ThrowawayClassLoader extends ClassLoader

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ThrowawayClassLoader(ClassLoader parent)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static Class<?>`
  `load(String className)`
  `protected Class<?>`
  `loadClass(String name, boolean resolve)`
  `static void`
  `main(String[] args)`

  ### Methods inherited from class java.lang.ClassLoader

  `clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findClass, findLibrary, findLoadedClass, findResource, findResource, findResources, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ThrowawayClassLoader

    public ThrowawayClassLoader(ClassLoader parent)

- ## Method Details

  - ### loadClass

    protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
    Overrides:
      `loadClass` in class `ClassLoader`
    Throws:
      `ClassNotFoundException`

  - ### main

    public static void main(String[] args) throws Exception
    Throws:
      `Exception`

  - ### load

    public static Class<?> load(String className)