You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by da...@apache.org on 2003/08/17 01:17:02 UTC
cvs commit: incubator-geronimo/modules/core/src/java/org/apache/geronimo/web AbstractWebContainer.java
dain 2003/08/16 16:17:02
Modified: modules/core/src/java/org/apache/geronimo/web
AbstractWebContainer.java
Log:
Initial revision of deployment dependency management system.
Revision Changes Path
1.3 +32 -77 incubator-geronimo/modules/core/src/java/org/apache/geronimo/web/AbstractWebContainer.java
Index: AbstractWebContainer.java
===================================================================
RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/web/AbstractWebContainer.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- AbstractWebContainer.java 15 Aug 2003 14:12:56 -0000 1.2
+++ AbstractWebContainer.java 16 Aug 2003 23:17:02 -0000 1.3
@@ -53,90 +53,45 @@
*
* ====================================================================
*/
-
package org.apache.geronimo.web;
-
-
-
-
import org.apache.geronimo.common.AbstractContainer;
-
-
-
-/* -------------------------------------------------------------------------------------- */
/**
- * AbstractWebContainer
- *
- *
- * @version $Revision$
+ * Base class for web containers.
+ *
+ * @version $Revision$ $Date$
*/
-public class AbstractWebContainer
- extends AbstractContainer
- implements WebContainer {
-
- private String defaultWebXmlURL = null;
-
-
-
-
-
-
-
- /* -------------------------------------------------------------------------------------- */
- /* Start the container
- * @throws Exception
- * @see org.apache.geronimo.common.AbstractComponent#doStart()
- */
- public void doStart() throws Exception {
-
- }
-
-
- /* -------------------------------------------------------------------------------------- */
- /* Stop the container
- * @throws Exception
- * @see org.apache.geronimo.common.AbstractStateManageable#doStop()
- */
- public void doStop() throws Exception {
+public class AbstractWebContainer extends AbstractContainer implements WebContainer {
+ /**
+ * Location of the defualt web.xml file
+ */
+ private String defaultWebXmlURL;
+
+ /**
+ * Creates a WebApplication from the url and associates it with this container.
+ * @param url the location of the web application to deploy
+ * @throws Exception
+ * @see org.apache.geronimo.web.WebContainer#deploy(java.lang.String)
+ */
+ public void deploy(String url) throws Exception {
}
+ /**
+ * Get the URL of the web defaults.
+ * @return the location of the default web.xml file for this container
+ * @see org.apache.geronimo.web.WebContainer#getDefaultWebXmlURL()
+ */
+ public String getDefaultWebXmlURL() {
+ return defaultWebXmlURL;
+ }
- /* -------------------------------------------------------------------------------------- */
- /* Convenience method. Creates a WebApplication from the url
- * and associates it with this container.
- * @param url
- * @throws Exception
- * @see org.apache.geronimo.web.WebContainer#deploy(java.lang.String)
- */
- public void deploy(String url) throws Exception {
-
- }
-
-
-
-
- /* -------------------------------------------------------------------------------------- */
- /* Get the URL of the web defaults
- * @return
- * @see org.apache.geronimo.web.WebContainer#getDefaultWebXmlURL()
- */
- public String getDefaultWebXmlURL() {
- return defaultWebXmlURL;
- }
-
-
-
- /* -------------------------------------------------------------------------------------- */
- /* Set a url of a web.xml containing defaults for the continer
- * @param url
- * @see org.apache.geronimo.web.WebContainer#setDefaultWebXmlURL(java.lang.String)
- */
- public void setDefaultWebXmlURL(String url) {
- defaultWebXmlURL = url;
- }
-
-
-
+ /**
+ * Set a url of a web.xml containing defaults for this continer.
+ * @param url the location of the default web.xml file
+ * @see org.apache.geronimo.web.WebContainer#setDefaultWebXmlURL(java.lang.String)
+ */
+ public void setDefaultWebXmlURL(String url) {
+ defaultWebXmlURL = url;
+ }
}