cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r909411 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java
Date Fri, 12 Feb 2010 13:49:16 GMT
Author: sergeyb
Date: Fri Feb 12 13:49:16 2010
New Revision: 909411

URL: http://svn.apache.org/viewvc?rev=909411&view=rev
Log:
JAXRS : fixing the context leakage in shared providers

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java?rev=909411&r1=909410&r2=909411&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java
Fri Feb 12 13:49:16 2010
@@ -581,6 +581,9 @@
                      requestHandlers,
                      responseHandlers,
                      exceptionMappers);
+        if (this != SHARED_FACTORY) {
+            SHARED_FACTORY.clearThreadLocalProxies();
+        }
     }
     
     void clearProxies(List<?> ...lists) {



Mime
View raw message