costin 01/02/27 08:54:05 Modified: src/share/org/apache/tomcat/core Context.java Request.java Log: Another change related with the profiles/lib reorg - remove the dependency between core and DependManager. As with the previous changes, DependManager is just an implementation choice made by the Reload module ( and few other modules adding dependencies). There are other ways to implement reloading ( modified class loaders, etc ), and there is no reason to "force" one way in the core APIs. DependManager is specific to a module ( or few ), but not required for normal tomcat operation ( other choices are possible as well ). Revision Changes Path 1.140 +0 -24 jakarta-tomcat/src/share/org/apache/tomcat/core/Context.java Index: Context.java =================================================================== RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/Context.java,v retrieving revision 1.139 retrieving revision 1.140 diff -u -r1.139 -r1.140 --- Context.java 2001/02/20 03:17:56 1.139 +++ Context.java 2001/02/27 16:54:01 1.140 @@ -60,7 +60,6 @@ package org.apache.tomcat.core; -import org.apache.tomcat.util.depend.*; import org.apache.tomcat.util.http.MimeMap; import org.apache.tomcat.util.log.Log; @@ -250,8 +249,6 @@ // true if a change was detected and this context // needs reload private boolean reload; - // Tool used to control reloading - private DependManager dependM=new DependManager(); // -------------------- from web.xml -------------------- // Those properties are not directly used in context @@ -976,17 +973,6 @@ classLoader=cl; } - // temp. properties until reloading is separated. - public final boolean shouldReload() { - if( !reload && dependM != null ) - return dependM.shouldReload(); - return reload; - } - - public final void setReload( boolean b ) { - reload=b; - } - // -------------------- ClassPath -------------------- public final void addClassPath( URL url ) { @@ -1011,16 +997,6 @@ return urls; } - // -------------------- Depend manager ( used for reloading ) ----------- - - public final void setDependManager(DependManager dm ) { - dependM=dm; - } - - public final DependManager getDependManager( ) { - return dependM; - } - /* -------------------- Utils -------------------- */ public final void setDebug( int level ) { if (level!=debug) 1.94 +0 -4 jakarta-tomcat/src/share/org/apache/tomcat/core/Request.java Index: Request.java =================================================================== RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/Request.java,v retrieving revision 1.93 retrieving revision 1.94 diff -u -r1.93 -r1.94 --- Request.java 2001/02/27 16:24:22 1.93 +++ Request.java 2001/02/27 16:54:02 1.94 @@ -305,10 +305,6 @@ return remoteHostMB; } - public void setRemoteHost(String remoteHost) { - this.remoteHost=remoteHost; - } - public String getLocalHost() { return localHost; } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]