Author: adrianc
Date: Sat Nov 16 04:32:01 2013
New Revision: 1542464
URL:
http://svn.apache.org/r1542464Log:
Elaborate on my previous comment.
Modified:
ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceDispatcher.java
Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceDispatcher.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceDispatcher.java?rev=1542464&r1=1542463&r2=1542464&view=diff==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceDispatcher.java (original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceDispatcher.java Sat Nov 16 04:32:01 2013
@@ -73,7 +73,8 @@ public class ServiceDispatcher {
protected static final Map<RunningService, ServiceDispatcher> runLog = new ConcurrentLinkedHashMap.Builder<RunningService, ServiceDispatcher>().maximumWeightedCapacity(lruLogSize).build();
protected static Map<String, ServiceDispatcher> dispatchers = FastMap.newInstance();
- // FIXME: These fields are not thread-safe. They are modified by EntityDataLoadContainer. We need a better design.
+ // FIXME: These fields are not thread-safe. They are modified by EntityDataLoadContainer.
+ // We need a better design - like have this class query EntityDataLoadContainer if data is being loaded.
protected static boolean enableJM = true;
protected static boolean enableJMS = true;
protected static boolean enableSvcs = true;