craigmcc 02/03/04 18:01:03 Modified: catalina/src/share/org/apache/catalina/core StandardHost.java Log: Forgot one updated file for the "liveDeploy" update. Revision Changes Path 1.25 +40 -5 jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardHost.java Index: StandardHost.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardHost.java,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- StandardHost.java 28 Feb 2002 17:20:56 -0000 1.24 +++ StandardHost.java 5 Mar 2002 02:01:02 -0000 1.25 @@ -1,7 +1,7 @@ /* - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardHost.java,v 1.24 2002/02/28 17:20:56 glenn Exp $ - * $Revision: 1.24 $ - * $Date: 2002/02/28 17:20:56 $ + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardHost.java,v 1.25 2002/03/05 02:01:02 craigmcc Exp $ + * $Revision: 1.25 $ + * $Date: 2002/03/05 02:01:02 $ * * ==================================================================== * @@ -95,7 +95,7 @@ * * @author Craig R. McClanahan * @author Remy Maucherat - * @version $Revision: 1.24 $ $Date: 2002/02/28 17:20:56 $ + * @version $Revision: 1.25 $ $Date: 2002/03/05 02:01:02 $ */ public class StandardHost @@ -177,6 +177,12 @@ /** + * The live deploy flag for this Host. + */ + private boolean liveDeploy = true; + + + /** * The Java class name of the default Mapper class for this Container. */ private String mapperClass = @@ -233,7 +239,7 @@ /** * Return the value of the auto deploy flag. If true, it indicates that * this host's child webapps should be discovred and automatically - * deployed. + * deployed at startup time. */ public boolean getAutoDeploy() { @@ -323,6 +329,35 @@ this.contextClass = contextClass; support.firePropertyChange("contextClass", oldContextClass, this.contextClass); + + } + + + /** + * Return the value of the live deploy flag. If true, it indicates that + * a background thread should be started that looks for web application + * context files, WAR files, or unpacked directories being dropped in to + * the <code>appBase</code> directory, and deploys new ones as they are + * encountered. + */ + public boolean getLiveDeploy() { + + return (this.liveDeploy); + + } + + + /** + * Set the live deploy flag value for this host. + * + * @param liveDeploy The new live deploy flag + */ + public void setLiveDeploy(boolean liveDeploy) { + + boolean oldLiveDeploy = this.liveDeploy; + this.liveDeploy = liveDeploy; + support.firePropertyChange("liveDeploy", oldLiveDeploy, + this.liveDeploy); }
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>