org.apache.jasper.runtime
Class JspLoader

java.lang.Object
  |
  +--java.lang.ClassLoader
        |
        +--org.apache.jasper.runtime.JspLoader
Direct Known Subclasses:
JasperLoader

public abstract class JspLoader
extends java.lang.ClassLoader

Jsp compiler and runtime depends on special features from the ClassLoader. It has to allow run-time addition of class paths and provide access to the class path. The loader is also responsible for detecting changes and reloading.

Author:
Anil K. Vijendran, Harish Prabandham, Costin Manolache

Method Summary
 void addJar(java.lang.String jarFileName)
           
 java.lang.String getClassPath()
           
 void setOptions(Options options)
           
 void setParentClassLoader(java.lang.ClassLoader cl)
           
 
Methods inherited from class java.lang.ClassLoader
getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setParentClassLoader

public void setParentClassLoader(java.lang.ClassLoader cl)

setOptions

public void setOptions(Options options)

addJar

public void addJar(java.lang.String jarFileName)
            throws java.io.IOException

getClassPath

public java.lang.String getClassPath()


Copyright © 2000 Mortbay Consulting Pty. Ltd. All Rights Reserved.