tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader WebappClassLoader.java
Date Sun, 17 Feb 2002 08:41:25 GMT
remm        02/02/17 00:41:25

  Modified:    catalina/src/share/org/apache/catalina/loader
                        WebappClassLoader.java
  Log:
  - Add some (long overdue) Javadoc comments in the WebappClassLoader.
  
  Revision  Changes    Path
  1.36      +27 -4     jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java
  
  Index: WebappClassLoader.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- WebappClassLoader.java	16 Feb 2002 19:34:28 -0000	1.35
  +++ WebappClassLoader.java	17 Feb 2002 08:41:25 -0000	1.36
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java,v
1.35 2002/02/16 19:34:28 remm Exp $
  - * $Revision: 1.35 $
  - * $Date: 2002/02/16 19:34:28 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java,v
1.36 2002/02/17 08:41:25 remm Exp $
  + * $Revision: 1.36 $
  + * $Date: 2002/02/17 08:41:25 $
    *
    * ====================================================================
    *
  @@ -113,6 +113,29 @@
   /**
    * Specialized web application class loader.
    * <p>
  + * This class loader is a full reimplementation of the 
  + * <code>URLClassLoader</code> from the JDK. It is desinged to be fully
  + * compatible with a normal <code>URLClassLoader</code>, although its internal
  + * behavior may be completely different.
  + * <p>
  + * <strong>IMPLEMENTATION NOTE</strong> - This class loader faithfully follows

  + * the delegation model recommended in the specification. The system class 
  + * loader will be queried first, then the local repositories, and only then 
  + * delegation to the parent class loader will occur. This allows the web 
  + * application to override any shared class except the classes from J2SE.
  + * Special handling is provided from the JAXP XML parser interfaces, the JNDI
  + * interfaces, and the classes from the servlet API, which are never loaded 
  + * from the webapp repository.
  + * <p>
  + * <strong>IMPLEMENTATION NOTE</strong> - Due to limitations in Jasper 
  + * compilation technology, any repository which contains classes from 
  + * the servlet API will be ignored by the class loader.
  + * <p>
  + * <strong>IMPLEMENTATION NOTE</strong> - The class loader generates source
  + * URLs which include the full JAR URL when a class is loaded from a JAR file,
  + * which allows setting security permission at the class level, even when a
  + * class is contained inside a JAR.
  + * <p>
    * <strong>IMPLEMENTATION NOTE</strong> - Local repositories are searched in
    * the order they are added via the initial constructor and/or any subsequent
    * calls to <code>addRepository()</code> or <code>addJar()</code>.
  @@ -122,7 +145,7 @@
    *
    * @author Remy Maucherat
    * @author Craig R. McClanahan
  - * @version $Revision: 1.35 $ $Date: 2002/02/16 19:34:28 $
  + * @version $Revision: 1.36 $ $Date: 2002/02/17 08:41:25 $
    */
   public class WebappClassLoader
       extends URLClassLoader
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message