    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.w3c.jigsaw.servlet.AutoReloadServletLoader

    java.lang.Object
       |
       +----java.lang.ClassLoader
               |
               +----org.w3c.jigsaw.servlet.AutoReloadServletLoader

public class AutoReloadServletLoader
extends ClassLoader

##

AutoReloadServletLoader(AutoReloadServletLoader)
AutoReloadServletLoader(JigsawServletContext)

##

checkPackageAccess(String)
classChanged(String)
getCachedClass(String, boolean)
  Get a cached class.
getNewClass(File, String, boolean)
  Get a new class.
getResource(String)
getResourceAsStream(String)
  Get a resource as a stream.
loadClass(String, boolean)
  Load a class.
loadClassFile(File)
  Load a Class from its class file..
locateClass(String)
  Given the class name, return its File name.

##

AutoReloadServletLoader

     protected AutoReloadServletLoader(AutoReloadServletLoader loader)

AutoReloadServletLoader

     protected AutoReloadServletLoader(JigsawServletContext context)

##

classChanged

     protected boolean classChanged(String name)

getCachedClass

     protected final Class getCachedClass(String name,
                                          boolean resolve) throws ClassNotFoundException

  Get a cached class.

  Returns:
    a Class instance
  Throws: ClassNotFoundException
    if the Class can't be found

checkPackageAccess

     protected void checkPackageAccess(String name)

locateClass

     protected File locateClass(String name)

  Given the class name, return its File name.

  Parameters:
    name - The class to be loaded.
  Returns:
    The File for the class.

loadClassFile

     protected Class loadClassFile(File file) throws ClassNotFoundException

  Load a Class from its class file..

  Returns:
    a Class instance
  Throws: ClassNotFoundException
    if the Class can't be found

getNewClass

     protected final Class getNewClass(File classfile,
                                       String name,
                                       boolean resolve) throws ClassNotFoundException

  Get a new class.

  Returns:
    a Class instance
  Throws: ClassNotFoundException
    if the Class can't be found

loadClass

     protected Class loadClass(String name,
                               boolean resolve) throws ClassNotFoundException

  Load a class.

  Returns:
    a Class instance
  Throws: ClassNotFoundException
    if the Class can't be found
  Overrides:
    loadClass in class ClassLoader

getResource

     public URL getResource(String name)

  Overrides:
    getResource in class ClassLoader

getResourceAsStream

     public InputStream getResourceAsStream(String name)

  Get a resource as a stream.

  Parameters:
    name - The name of the resource to locate.
  Overrides:
    getResourceAsStream in class ClassLoader

    All Packages  Class Hierarchy  This Package  Previous  Next  Index