diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-30 09:51:23 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-30 09:51:23 +1200 |
commit | 727e7bfad908abd899d1114c5405f9bf69b47ebc (patch) | |
tree | 5c66197f72f4cbb42a1b5cecd5a71fed4b2ed757 /src/org/traccar/Context.java | |
parent | 54c54703d66e8991472c1f7476ba4acb424b27d9 (diff) | |
download | trackermap-server-727e7bfad908abd899d1114c5405f9bf69b47ebc.tar.gz trackermap-server-727e7bfad908abd899d1114c5405f9bf69b47ebc.tar.bz2 trackermap-server-727e7bfad908abd899d1114c5405f9bf69b47ebc.zip |
Active devices in connection manager
Diffstat (limited to 'src/org/traccar/Context.java')
-rw-r--r-- | src/org/traccar/Context.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java index 9d65f3e64..d8024d066 100644 --- a/src/org/traccar/Context.java +++ b/src/org/traccar/Context.java @@ -17,7 +17,7 @@ package org.traccar; import java.io.FileInputStream; import java.util.Properties; -import org.traccar.database.DataCache; +import org.traccar.database.ConnectionManager; import org.traccar.database.DataManager; import org.traccar.database.PermissionsManager; import org.traccar.geocode.GisgraphyReverseGeocoder; @@ -47,10 +47,10 @@ public class Context { return dataManager; } - private static DataCache dataCache; + private static ConnectionManager connectionManager; - public static DataCache getDataCache() { - return dataCache; + public static ConnectionManager getConnectionManager() { + return connectionManager; } private static PermissionsManager permissionsManager; @@ -90,7 +90,7 @@ public class Context { } dataManager = new DataManager(properties); - dataCache = new DataCache(); + connectionManager = new ConnectionManager(); if (!Boolean.valueOf(properties.getProperty("web.old"))) { permissionsManager = new PermissionsManager(); } @@ -113,7 +113,7 @@ public class Context { serverManager = new ServerManager(); dataManager.initDatabaseSchema(); - dataCache.init(dataManager); + connectionManager.init(dataManager); serverManager.init(); } |