You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2002/05/13 22:11:51 UTC
cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina Lifecycle.java
remm 02/05/13 13:11:51
Modified: catalina/src/share/org/apache/catalina Lifecycle.java
Log:
- Add the four new basic event types for components.
Revision Changes Path
1.5 +28 -5 jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Lifecycle.java
Index: Lifecycle.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Lifecycle.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Lifecycle.java 9 Nov 2001 19:37:04 -0000 1.4
+++ Lifecycle.java 13 May 2002 20:11:51 -0000 1.5
@@ -1,7 +1,7 @@
/*
- * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Lifecycle.java,v 1.4 2001/11/09 19:37:04 remm Exp $
- * $Revision: 1.4 $
- * $Date: 2001/11/09 19:37:04 $
+ * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Lifecycle.java,v 1.5 2002/05/13 20:11:51 remm Exp $
+ * $Revision: 1.5 $
+ * $Date: 2002/05/13 20:11:51 $
*
* ====================================================================
*
@@ -72,7 +72,7 @@
* provide a consistent mechanism to start and stop the component.
*
* @author Craig R. McClanahan
- * @version $Revision: 1.4 $ $Date: 2001/11/09 19:37:04 $
+ * @version $Revision: 1.5 $ $Date: 2002/05/13 20:11:51 $
*/
public interface Lifecycle {
@@ -88,13 +88,36 @@
/**
+ * The LifecycleEvent type for the "component before start" event.
+ */
+ public static final String BEFORE_START_EVENT = "before_start";
+
+
+ /**
+ * The LifecycleEvent type for the "component after start" event.
+ */
+ public static final String AFTER_START_EVENT = "after_start";
+
+
+ /**
* The LifecycleEvent type for the "component stop" event.
*/
public static final String STOP_EVENT = "stop";
- // --------------------------------------------------------- Public Methods
+ /**
+ * The LifecycleEvent type for the "component before stop" event.
+ */
+ public static final String BEFORE_STOP_EVENT = "before_stop";
+
+
+ /**
+ * The LifecycleEvent type for the "component after stop" event.
+ */
+ public static final String AFTER_STOP_EVENT = "after_stop";
+
+ // --------------------------------------------------------- Public Methods
/**
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>