tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1385353 - /tomcat/sandbox/trunk-resources/java/org/apache/catalina/webresources/StandardRoot.java
Date Sun, 16 Sep 2012 19:25:51 GMT
Author: markt
Date: Sun Sep 16 19:25:51 2012
New Revision: 1385353

URL: http://svn.apache.org/viewvc?rev=1385353&view=rev
Log:
Review complete

Modified:
    tomcat/sandbox/trunk-resources/java/org/apache/catalina/webresources/StandardRoot.java

Modified: tomcat/sandbox/trunk-resources/java/org/apache/catalina/webresources/StandardRoot.java
URL: http://svn.apache.org/viewvc/tomcat/sandbox/trunk-resources/java/org/apache/catalina/webresources/StandardRoot.java?rev=1385353&r1=1385352&r2=1385353&view=diff
==============================================================================
--- tomcat/sandbox/trunk-resources/java/org/apache/catalina/webresources/StandardRoot.java
(original)
+++ tomcat/sandbox/trunk-resources/java/org/apache/catalina/webresources/StandardRoot.java
Sun Sep 16 19:25:51 2012
@@ -35,6 +35,11 @@ import org.apache.catalina.WebResourceRo
 import org.apache.catalina.WebResourceSet;
 import org.apache.catalina.util.LifecycleMBeanBase;
 
+/**
+ * Provides the resources implementation for a web application. The
+ * {@link org.apache.catalina.Lifecycle} of this class should be aligned with
+ * that of the associated {@link Context}.
+ */
 public class StandardRoot extends LifecycleMBeanBase
         implements WebResourceRoot {
 
@@ -282,10 +287,6 @@ public class StandardRoot extends Lifecy
 
     // --------------------------------------------------------------- Lifecycle
 
-    // TODO Review the lifecycle, particularly around context start/stop/restart
-    //      Need to consider where resource sets may be defined / identified (
-    //      e.g. context.xml for pre/post, Jar scanning for resource JARs).
-    //      Clarify what gets set/reset when in the Javadoc for this class.
     @Override
     protected void startInternal() throws LifecycleException {
         String docBase = context.getDocBase();



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


Mime
View raw message