FIXME comments, no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542463 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -88,6 +88,7 @@ public class EntityDataLoadContainer implements Container {
|
||||
this.name = name;
|
||||
this.configFile = configFile;
|
||||
// disable job scheduler, JMS listener and startup services
|
||||
// FIXME: This is not thread-safe.
|
||||
ServiceDispatcher.enableJM(false);
|
||||
ServiceDispatcher.enableJMS(false);
|
||||
ServiceDispatcher.enableSvcs(false);
|
||||
|
||||
@@ -73,6 +73,7 @@ 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.
|
||||
protected static boolean enableJM = true;
|
||||
protected static boolean enableJMS = true;
|
||||
protected static boolean enableSvcs = true;
|
||||
|
||||
Reference in New Issue
Block a user