    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.w3c.jigsaw.servlet.ServletLoader

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

public class ServletLoader
extends ClassLoader

##

ServletLoader(RemoteServletWrapper)

##

loadClass(String, boolean)
  Try to load class.
locateClass(String)
  Given the class name, return its URL.

##

ServletLoader

     protected ServletLoader(RemoteServletWrapper wrapper)

##

locateClass

     protected URL locateClass(String name)

  Given the class name, return its URL.

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

loadClass

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

  Try to load class.

  Parameters:
    name - The class name.
    boolean - The resolve flag
  Returns:
    a Class instance
  Throws: ClassNotFoundException
    if the class file can't be found.
  Overrides:
    loadClass in class ClassLoader

    All Packages  Class Hierarchy  This Package  Previous  Next  Index