abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r433823 [3/3] - in /incubator/abdera/java/trunk: client/src/main/java/org/apache/abdera/protocol/cache/ client/src/main/java/org/apache/abdera/protocol/client/ client/src/main/java/org/apache/abdera/protocol/util/ client/src/test/java/org/a...
Date Wed, 23 Aug 2006 01:13:32 GMT
Modified: incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/server/servlet/AbderaServlet.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/server/servlet/AbderaServlet.java?rev=433823&r1=433822&r2=433823&view=diff
==============================================================================
--- incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/server/servlet/AbderaServlet.java
(original)
+++ incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/server/servlet/AbderaServlet.java
Tue Aug 22 18:13:27 2006
@@ -26,6 +26,7 @@
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 
+import org.apache.abdera.server.AbderaServer;
 import org.apache.abdera.server.RequestContext;
 import org.apache.abdera.server.RequestHandler;
 import org.apache.abdera.server.RequestHandlerFactory;
@@ -39,6 +40,8 @@
 
   private static final long serialVersionUID = -4273782501412352619L;
 
+  private AbderaServer abderaServer = new AbderaServer();
+  
   @Override
   protected void service(
     HttpServletRequest request, 
@@ -48,7 +51,7 @@
     ResponseContext responseContext = null;
     RequestHandler handler = null;
     try {
-      RequestHandlerFactory factory = RequestHandlerFactory.INSTANCE;            // TODO:
improve this
+      RequestHandlerFactory factory = abderaServer.newRequestHandlerFactory();
       if (factory != null)
         handler = factory.newRequestHandler(requestContext);
       if (handler != null) {



Mime
View raw message