svn commit: r1782943 - in /ofbiz/ofbiz-framework/trunk/framework: entity/src/main/java/org/apache/ofbiz/entity/util/EntityClassLoader.java webapp/src/main/java/org/apache/ofbiz/webapp/control/ControlServlet.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1782943 - in /ofbiz/ofbiz-framework/trunk/framework: entity/src/main/java/org/apache/ofbiz/entity/util/EntityClassLoader.java webapp/src/main/java/org/apache/ofbiz/webapp/control/ControlServlet.java

jleroux@apache.org
Author: jleroux
Date: Tue Feb 14 09:57:00 2017
New Revision: 1782943

URL: http://svn.apache.org/viewvc?rev=1782943&view=rev
Log:
No functional change, remove unused and failing EntityClassLoader

Relates with OFBIZ-6210

Removed:
    ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/util/EntityClassLoader.java
Modified:
    ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ControlServlet.java

Modified: ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ControlServlet.java
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ControlServlet.java?rev=1782943&r1=1782942&r2=1782943&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ControlServlet.java (original)
+++ ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ControlServlet.java Tue Feb 14 09:57:00 2017
@@ -47,6 +47,7 @@ import org.apache.ofbiz.security.Securit
 import org.apache.ofbiz.service.LocalDispatcher;
 import org.apache.ofbiz.webapp.stats.ServerHitBin;
 import org.apache.ofbiz.webapp.stats.VisitHandler;
+
 import freemarker.ext.servlet.ServletContextHashModel;
 
 /**
@@ -157,10 +158,6 @@ public class ControlServlet extends Http
             request.setAttribute("delegator", delegator);
             // always put this in the session too so that session events can use the delegator
             session.setAttribute("delegatorName", delegator.getDelegatorName());
-            /* Uncomment this to enable the EntityClassLoader
-            ClassLoader loader = EntityClassLoader.getInstance(delegator.getDelegatorName(), Thread.currentThread().getContextClassLoader());
-            Thread.currentThread().setContextClassLoader(loader);
-            */
         }
 
         LocalDispatcher dispatcher = (LocalDispatcher) session.getAttribute("dispatcher");