geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vamsic...@apache.org
Subject svn commit: r571217 - in /geronimo/plugins/tuscany/trunk: geronimo-tuscany-http-jetty/src/main/java/org/apache/geronimo/tuscany/http/jetty/ geronimo-tuscany-http-tomcat/src/main/java/org/apache/geronimo/tuscany/http/tomcat/
Date Thu, 30 Aug 2007 15:47:07 GMT
Author: vamsic007
Date: Thu Aug 30 08:47:06 2007
New Revision: 571217

URL: http://svn.apache.org/viewvc?rev=571217&view=rev
Log:
Added missing methods in ServletHost implementation.
  o Thanks ant elder for providing the patch.

Modified:
    geronimo/plugins/tuscany/trunk/geronimo-tuscany-http-jetty/src/main/java/org/apache/geronimo/tuscany/http/jetty/GeronimoServletHost.java
    geronimo/plugins/tuscany/trunk/geronimo-tuscany-http-tomcat/src/main/java/org/apache/geronimo/tuscany/http/tomcat/GeronimoServletHost.java

Modified: geronimo/plugins/tuscany/trunk/geronimo-tuscany-http-jetty/src/main/java/org/apache/geronimo/tuscany/http/jetty/GeronimoServletHost.java
URL: http://svn.apache.org/viewvc/geronimo/plugins/tuscany/trunk/geronimo-tuscany-http-jetty/src/main/java/org/apache/geronimo/tuscany/http/jetty/GeronimoServletHost.java?rev=571217&r1=571216&r2=571217&view=diff
==============================================================================
--- geronimo/plugins/tuscany/trunk/geronimo-tuscany-http-jetty/src/main/java/org/apache/geronimo/tuscany/http/jetty/GeronimoServletHost.java
(original)
+++ geronimo/plugins/tuscany/trunk/geronimo-tuscany-http-jetty/src/main/java/org/apache/geronimo/tuscany/http/jetty/GeronimoServletHost.java
Thu Aug 30 08:47:06 2007
@@ -30,6 +30,7 @@
 
 import javax.naming.Context;
 import javax.naming.NamingException;
+import javax.servlet.RequestDispatcher;
 import javax.servlet.Servlet;
 import javax.servlet.ServletException;
 import javax.transaction.TransactionManager;
@@ -329,5 +330,12 @@
         }
         log.debug("End of removeServletMapping() method");
         return removedServlet;
+    }
+    public RequestDispatcher getRequestDispatcher(String suri) {
+        //FIXME implement this later
+        return null;
+    }
+    public Servlet getServletMapping(String suri) {
+        return null;
     }
 }

Modified: geronimo/plugins/tuscany/trunk/geronimo-tuscany-http-tomcat/src/main/java/org/apache/geronimo/tuscany/http/tomcat/GeronimoServletHost.java
URL: http://svn.apache.org/viewvc/geronimo/plugins/tuscany/trunk/geronimo-tuscany-http-tomcat/src/main/java/org/apache/geronimo/tuscany/http/tomcat/GeronimoServletHost.java?rev=571217&r1=571216&r2=571217&view=diff
==============================================================================
--- geronimo/plugins/tuscany/trunk/geronimo-tuscany-http-tomcat/src/main/java/org/apache/geronimo/tuscany/http/tomcat/GeronimoServletHost.java
(original)
+++ geronimo/plugins/tuscany/trunk/geronimo-tuscany-http-tomcat/src/main/java/org/apache/geronimo/tuscany/http/tomcat/GeronimoServletHost.java
Thu Aug 30 08:47:06 2007
@@ -21,6 +21,7 @@
 import java.io.File;
 import java.net.URI;
 
+import javax.servlet.RequestDispatcher;
 import javax.servlet.Servlet;
 
 import org.apache.catalina.Container;
@@ -206,5 +207,14 @@
         }
         log.debug("End of removeServletMapping() method");        
         return ((StandardWrapper)container).getServlet();
+    }
+
+    public RequestDispatcher getRequestDispatcher(String suri) {
+        //FIXME implement this later
+        return null;
+    }
+
+    public Servlet getServletMapping(String suri) {
+        return null;
     }
 }



Mime
View raw message