remm 2004/01/26 10:12:59
Modified: catalina/src/share/org/apache/catalina Connector.java
Log:
- Implement clean shutdown of the connectors (my third proposal).
- Add pause and resume methods on the connector interface.
Revision Changes Path
1.2 +17 -5
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/Connector.java
Index: Connector.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/Connector.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Connector.java 18 Jul 2002 16:47:36 -0000 1.1
+++ Connector.java 26 Jan 2004 18:12:59 -0000 1.2
@@ -259,6 +259,18 @@
* @exception LifecycleException If this server was already initialized.
*/
public void initialize()
- throws LifecycleException;
+ throws LifecycleException;
+
+ /**
+ * Pause the connector.
+ */
+ public void pause()
+ throws LifecycleException;
+
+ /**
+ * Pause the connector.
+ */
+ public void resume()
+ throws LifecycleException;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]