[jbossws-commits] JBossWS SVN: r10466 - stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Tue Aug 4 05:40:29 EDT 2009


Author: alessio.soldano at jboss.com
Date: 2009-08-04 05:40:29 -0400 (Tue, 04 Aug 2009)
New Revision: 10466

Modified:
   stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/CXFServletExt.java
Log:
[JBWS-2707] Cleaning CXFServletExt


Modified: stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/CXFServletExt.java
===================================================================
--- stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/CXFServletExt.java	2009-08-04 09:25:15 UTC (rev 10465)
+++ stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/CXFServletExt.java	2009-08-04 09:40:29 UTC (rev 10466)
@@ -1,6 +1,6 @@
 /*
  * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
  * as indicated by the @author tags. See the copyright.txt file in the
  * distribution for a full listing of individual contributors.
  *
@@ -133,25 +133,8 @@
          childCtx.refresh();
       }
    }
-
-   //required up to CXF 2.2.2
-   public void service(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
-   {
-      try
-      {
-         BusFactory.setThreadDefaultBus(getBus());
-         EndpointAssociation.setEndpoint(endpoint);
-         RequestHandler requestHandler = (RequestHandler)endpoint.getRequestHandler();
-         requestHandler.handleHttpRequest(endpoint, req, res, getServletContext());
-      }
-      finally
-      {
-         EndpointAssociation.removeEndpoint();
-         BusFactory.setThreadDefaultBus(null);
-      }
-   }
    
-   //required for CXF 2.2.3 or greater
+   @Override
    protected void invoke(HttpServletRequest req, HttpServletResponse res) throws ServletException
    {
       try



More information about the jbossws-commits mailing list