Author: antelder
Date: Fri May 29 06:55:20 2009
New Revision: 779872

URL: http://svn.apache.org/viewvc?rev=779872&view=rev
Log:
Just formating and comment updates, no code changes. Note the 
tuscanyClassLoader comment was incorrect before, there's a 
TuscanyStandardContext instance for each webapp so the tuscanyClassLoader is 
per webapp too

Modified:
    
tuscany/java/sca/distribution/tomcat/tomcat-hook/src/main/java/org/apache/tuscany/sca/tomcat/TuscanyStandardContext.java

Modified: 
tuscany/java/sca/distribution/tomcat/tomcat-hook/src/main/java/org/apache/tuscany/sca/tomcat/TuscanyStandardContext.java
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/distribution/tomcat/tomcat-hook/src/main/java/org/apache/tuscany/sca/tomcat/TuscanyStandardContext.java?rev=779872&r1=779871&r2=779872&view=diff
==============================================================================
--- 
tuscany/java/sca/distribution/tomcat/tomcat-hook/src/main/java/org/apache/tuscany/sca/tomcat/TuscanyStandardContext.java
 (original)
+++ 
tuscany/java/sca/distribution/tomcat/tomcat-hook/src/main/java/org/apache/tuscany/sca/tomcat/TuscanyStandardContext.java
 Fri May 29 06:55:20 2009
@@ -39,16 +39,16 @@
  * the start and inserts any required Tuscany configuration.
  */
 public class TuscanyStandardContext extends StandardContext {
-    protected static final String TUSCANY_FILTER_NAME = "TuscanyFilter";
-    protected static final String TUSCANY_SERVLET_FILTER = 
"org.apache.tuscany.sca.host.webapp.TuscanyServletFilter";
-    protected static final String TUSCANY_CONTEXT_LISTENER =
-        "org.apache.tuscany.sca.host.webapp.TuscanyContextListener";
     private static final long serialVersionUID = 1L;
     private static final Logger log = 
Logger.getLogger(TuscanyStandardContext.class.getName());
 
+    protected static final String TUSCANY_FILTER_NAME = "TuscanyFilter";
+    protected static final String TUSCANY_SERVLET_FILTER = 
"org.apache.tuscany.sca.host.webapp.TuscanyServletFilter";
+    protected static final String TUSCANY_CONTEXT_LISTENER = 
"org.apache.tuscany.sca.host.webapp.TuscanyContextListener";
+
     private boolean isSCAApp;
 
-    // TODO: this gives an instance per connector, work out how to have only 
one per server
+    // TODO: this gives an instance per webapp, work out how to have only one 
per server
     private static URLClassLoader tuscanyClassLoader;
 
     /**
@@ -172,5 +172,4 @@
         }
         return tuscanyClassLoader;
     }
-
 }


Reply via email to