cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina Host.java
remm02/02/26 19:13:35 Modified:catalina/src/share/org/apache/catalina Host.java Log: - Fix javadoc. - Patch submitted by Christopher St. John cks at distributopia.com Revision ChangesPath 1.8 +5 -6 jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Host.java Index: Host.java === RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Host.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- Host.java 22 Oct 2001 04:48:56 - 1.7 +++ Host.java 27 Feb 2002 03:13:35 - 1.8 @@ -1,7 +1,7 @@ /* - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Host.java,v 1.7 2001/10/22 04:48:56 remm Exp $ - * $Revision: 1.7 $ - * $Date: 2001/10/22 04:48:56 $ + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Host.java,v 1.8 2002/02/27 03:13:35 remm Exp $ + * $Revision: 1.8 $ + * $Date: 2002/02/27 03:13:35 $ * * * @@ -85,11 +85,10 @@ * be some other implementation, or may be omitted if it is not necessary. * p * The child containers attached to a Host are generally implementations - * of Host (representing a virtual host) or Context (representing individual - * an individual servlet context), depending upon the Engine implementation. + * of Context (representing an individual servlet context). * * @author Craig R. McClanahan - * @version $Revision: 1.7 $ $Date: 2001/10/22 04:48:56 $ + * @version $Revision: 1.8 $ $Date: 2002/02/27 03:13:35 $ */ public interface Host extends Container { -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina Host.java
remm02/02/26 19:24:30 Modified:catalina/src/share/org/apache/catalina Tag: tomcat_40_branch Host.java Log: - Fix javadoc. - Patch submitted by Christopher St. John cks at distributopia.com Revision ChangesPath No revision No revision 1.5.2.1 +5 -6 jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Host.java Index: Host.java === RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Host.java,v retrieving revision 1.5 retrieving revision 1.5.2.1 diff -u -r1.5 -r1.5.2.1 --- Host.java 22 Jul 2001 20:13:30 - 1.5 +++ Host.java 27 Feb 2002 03:24:30 - 1.5.2.1 @@ -1,7 +1,7 @@ /* - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Host.java,v 1.5 2001/07/22 20:13:30 pier Exp $ - * $Revision: 1.5 $ - * $Date: 2001/07/22 20:13:30 $ + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Host.java,v 1.5.2.1 2002/02/27 03:24:30 remm Exp $ + * $Revision: 1.5.2.1 $ + * $Date: 2002/02/27 03:24:30 $ * * * @@ -87,11 +87,10 @@ * be some other implementation, or may be omitted if it is not necessary. * p * The child containers attached to a Host are generally implementations - * of Host (representing a virtual host) or Context (representing individual - * an individual servlet context), depending upon the Engine implementation. + * of Context (representing an individual servlet context). * * @author Craig R. McClanahan - * @version $Revision: 1.5 $ $Date: 2001/07/22 20:13:30 $ + * @version $Revision: 1.5.2.1 $ $Date: 2002/02/27 03:24:30 $ */ public interface Host extends Container { -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina Host.java
remm01/10/21 21:48:56 Modified:catalina/src/share/org/apache/catalina Host.java Log: - Add new auto deploy flag. If true, the web applcations will be automatically deployed by the host configurator. Revision ChangesPath 1.7 +20 -4 jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Host.java Index: Host.java === RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Host.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- Host.java 2001/10/16 23:14:13 1.6 +++ Host.java 2001/10/22 04:48:56 1.7 @@ -1,7 +1,7 @@ /* - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Host.java,v 1.6 2001/10/16 23:14:13 remm Exp $ - * $Revision: 1.6 $ - * $Date: 2001/10/16 23:14:13 $ + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Host.java,v 1.7 2001/10/22 04:48:56 remm Exp $ + * $Revision: 1.7 $ + * $Date: 2001/10/22 04:48:56 $ * * * @@ -89,7 +89,7 @@ * an individual servlet context), depending upon the Engine implementation. * * @author Craig R. McClanahan - * @version $Revision: 1.6 $ $Date: 2001/10/16 23:14:13 $ + * @version $Revision: 1.7 $ $Date: 2001/10/22 04:48:56 $ */ public interface Host extends Container { @@ -129,6 +129,22 @@ * @param appBase The new application root */ public void setAppBase(String appBase); + + +/** + * Return the value of the auto deploy flag. If true, it indicates that + * this host's child webapps should be discovred and automatically + * deployed. + */ +public boolean getAutoDeploy(); + + +/** + * Set the auto deploy flag value for this host. + * + * @param autoDeploy The new auto deploy flag + */ +public void setAutoDeploy(boolean autoDeploy); /**
cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina Host.java
glenn 01/02/25 19:51:10 Modified:catalina/src/share/org/apache/catalina Host.java Log: Implement DefaultContext in server.xml config Revision ChangesPath 1.3 +23 -5 jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Host.java Index: Host.java === RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Host.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Host.java 2000/08/12 18:57:28 1.2 +++ Host.java 2001/02/26 03:51:10 1.3 @@ -1,7 +1,7 @@ /* - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Host.java,v 1.2 2000/08/12 18:57:28 craigmcc Exp $ - * $Revision: 1.2 $ - * $Date: 2000/08/12 18:57:28 $ + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Host.java,v 1.3 2001/02/26 03:51:10 glenn Exp $ + * $Revision: 1.3 $ + * $Date: 2001/02/26 03:51:10 $ * * * @@ -66,8 +66,9 @@ import javax.servlet.ServletContext; +import org.apache.catalina.Context; +import org.apache.catalina.core.DefaultContext; - /** * A bHost/b is a Container that represents a virtual host in the * Catalina servlet engine. It is useful in the following types of scenarios: @@ -90,7 +91,7 @@ * an individual servlet context), depending upon the Engine implementation. * * @author Craig R. McClanahan - * @version $Revision: 1.2 $ $Date: 2000/08/12 18:57:28 $ + * @version $Revision: 1.3 $ $Date: 2001/02/26 03:51:10 $ */ public interface Host extends Container { @@ -133,6 +134,15 @@ /** + * Set the DefaultContext + * for new web applications. + * + * @param defaultContext The new DefaultContext + */ +public void addDefaultContext(DefaultContext defaultContext); + + +/** * Return the canonical, fully qualified, name of the virtual host * this Container represents. */ @@ -151,6 +161,14 @@ // - Public Methods + + +/** + * Import the DefaultContext config into a web application context. + * + * @param context web application context to import default context + */ +public void importDefaultContext(Context context); /** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]