From a2549d255dd5c28f98e2df2743687d47c3497df0 Mon Sep 17 00:00:00 2001 From: fhanik Date: Wed, 13 Dec 2006 02:34:30 +0000 Subject: [PATCH] Remove methods not needed by this interface. not used in any sub implementations git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@486463 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/catalina/Cluster.java | 65 ----------------------------------- 1 file changed, 65 deletions(-) diff --git a/java/org/apache/catalina/Cluster.java b/java/org/apache/catalina/Cluster.java index 6b33c86e3..1e0dfac14 100644 --- a/java/org/apache/catalina/Cluster.java +++ b/java/org/apache/catalina/Cluster.java @@ -125,69 +125,4 @@ public interface Cluster { * throwables will be caught and logged. */ public void backgroundProcess(); - - - /** - * Start an existing web application, attached to the specified context - * path in all the other nodes in the cluster. - * Only starts a web application if it is not running. - * - * @param contextPath The context path of the application to be started - * - * @exception IllegalArgumentException if the specified context path - * is malformed (it must be "" or start with a slash) - * @exception IllegalArgumentException if the specified context path does - * not identify a currently installed web application - * @exception IOException if an input/output error occurs during - * startup - * @deprecated - */ - public void startContext(String contextPath) throws IOException; - - - /** - * Install a new web application, whose web application archive is at the - * specified URL, into this container with the specified context path. - * A context path of "" (the empty string) should be used for the root - * application for this container. Otherwise, the context path must - * start with a slash. - *

- * If this application is successfully installed, a ContainerEvent of type - * PRE_INSTALL_EVENT will be sent to registered listeners - * before the associated Context is started, and a ContainerEvent of type - * INSTALL_EVENT will be sent to all registered listeners - * after the associated Context is started, with the newly created - * Context as an argument. - * - * @param contextPath The context path to which this application should - * be installed (must be unique) - * @param war A URL of type "jar:" that points to a WAR file, or type - * "file:" that points to an unpacked directory structure containing - * the web application to be installed - * - * @exception IllegalArgumentException if the specified context path - * is malformed (it must be "" or start with a slash) - * @exception IllegalStateException if the specified context path - * is already attached to an existing web application - * @deprecated - */ - public void installContext(String contextPath, URL war); - - /** - * Stop an existing web application, attached to the specified context - * path. Only stops a web application if it is running. - * - * @param contextPath The context path of the application to be stopped - * - * @exception IllegalArgumentException if the specified context path - * is malformed (it must be "" or start with a slash) - * @exception IllegalArgumentException if the specified context path does - * not identify a currently installed web application - * @exception IOException if an input/output error occurs while stopping - * the web application - * @deprecated - */ - public void stop(String contextPath) throws IOException; - - } -- 2.11.0