tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1069016 - /tomcat/trunk/java/org/apache/catalina/util/LifecycleBase.java
Date Wed, 09 Feb 2011 18:25:49 GMT
Author: markt
Date: Wed Feb  9 18:25:48 2011
New Revision: 1069016

URL: http://svn.apache.org/viewvc?rev=1069016&view=rev
Log:
Better comments

Modified:
    tomcat/trunk/java/org/apache/catalina/util/LifecycleBase.java

Modified: tomcat/trunk/java/org/apache/catalina/util/LifecycleBase.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/util/LifecycleBase.java?rev=1069016&r1=1069015&r2=1069016&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/util/LifecycleBase.java (original)
+++ tomcat/trunk/java/org/apache/catalina/util/LifecycleBase.java Wed Feb  9 18:25:48 2011
@@ -164,13 +164,9 @@ public abstract class LifecycleBase impl
 
 
     /**
-     * Sub-classes must ensure that:
-     * <ul>
-     * <li>the {@link Lifecycle#START_EVENT} is fired during the execution of
-     *     this method</li>
-     * <li>the state is changed to {@link LifecycleState#STARTING} when the
-     *     {@link Lifecycle#START_EVENT} is fired
-     * </ul>
+     * Sub-classes must ensure that the state is changed to
+     * {@link LifecycleState#STARTING} during the execution of this method.
+     * Changing state will trigger the {@link Lifecycle#START_EVENT} event.
      * 
      * If a component fails to start it may either throw a
      * {@link LifecycleException} which will cause it's parent to fail to start
@@ -243,13 +239,9 @@ public abstract class LifecycleBase impl
 
 
     /**
-     * Sub-classes must ensure that:
-     * <ul>
-     * <li>the {@link Lifecycle#STOP_EVENT} is fired during the execution of
-     *     this method</li>
-     * <li>the state is changed to {@link LifecycleState#STOPPING} when the
-     *     {@link Lifecycle#STOP_EVENT} is fired
-     * </ul>
+     * Sub-classes must ensure that the state is changed to
+     * {@link LifecycleState#STOPPING} during the execution of this method.
+     * Changing state will trigger the {@link Lifecycle#STOP_EVENT} event.
      * 
      * @throws LifecycleException
      */



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message