diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-11 22:25:38 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-11 22:25:38 +1300 |
commit | 7cdc2fbdb4cbb1b55274278e51222bbb874dcf13 (patch) | |
tree | 6c4a9e775a5f370b93f5c614b9652bb8eccec740 /src/org/traccar/web/client/Application.java | |
parent | 230ff57c8880aa8d2f749c76b77b89a4eb3818d8 (diff) | |
download | trackermap-web-7cdc2fbdb4cbb1b55274278e51222bbb874dcf13.tar.gz trackermap-web-7cdc2fbdb4cbb1b55274278e51222bbb874dcf13.tar.bz2 trackermap-web-7cdc2fbdb4cbb1b55274278e51222bbb874dcf13.zip |
Polish map panel and fix few bugs
Diffstat (limited to 'src/org/traccar/web/client/Application.java')
-rw-r--r-- | src/org/traccar/web/client/Application.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/org/traccar/web/client/Application.java b/src/org/traccar/web/client/Application.java index 2166237f..c8029959 100644 --- a/src/org/traccar/web/client/Application.java +++ b/src/org/traccar/web/client/Application.java @@ -15,6 +15,8 @@ */ package org.traccar.web.client; +import java.util.logging.Logger; + import org.traccar.web.client.controller.ArchiveController; import org.traccar.web.client.controller.DeviceController; import org.traccar.web.client.controller.MapController; @@ -39,6 +41,12 @@ public class Application { return dataService; } + private static Logger logger = Logger.getLogger(""); + + public static Logger getLogger() { + return logger; + } + private final DeviceController deviceController; private final MapController mapController; private final ArchiveController archiveController; @@ -47,6 +55,7 @@ public class Application { public Application() { deviceController = new DeviceController(deviceHandler); + deviceController.getDeviceStore().addStoreHandlers(deviceStoreHandler); mapController = new MapController(); archiveController = new ArchiveController(archiveHanlder, deviceController.getDeviceStore()); archiveController.getPositionStore().addStoreHandlers(archiveStoreHandler); |