No functional change, remove unused and failing EntityClassLoader
Relates with OFBIZ-6210 git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1782943 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -47,6 +47,7 @@ import org.apache.ofbiz.security.Security;
|
||||
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 HttpServlet {
|
||||
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");
|
||||
|
||||
Reference in New Issue
Block a user