aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/ServerManager.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-04 06:50:50 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-04 06:50:50 -0700
commitea22ffb859f8bb8fa0a468af192fef395653d645 (patch)
tree959ceef93b645ae1573de1cf0eba86b657dec92c /src/main/java/org/traccar/ServerManager.java
parentec76482c15094a7e04964c67d3011a7e8e1ad6a9 (diff)
downloadtrackermap-server-ea22ffb859f8bb8fa0a468af192fef395653d645.tar.gz
trackermap-server-ea22ffb859f8bb8fa0a468af192fef395653d645.tar.bz2
trackermap-server-ea22ffb859f8bb8fa0a468af192fef395653d645.zip
Remove more from context
Diffstat (limited to 'src/main/java/org/traccar/ServerManager.java')
-rw-r--r--src/main/java/org/traccar/ServerManager.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/ServerManager.java b/src/main/java/org/traccar/ServerManager.java
index 15faf9f2b..a6bb6888c 100644
--- a/src/main/java/org/traccar/ServerManager.java
+++ b/src/main/java/org/traccar/ServerManager.java
@@ -20,6 +20,7 @@ import org.slf4j.LoggerFactory;
import org.traccar.config.Keys;
import org.traccar.helper.ClassScanner;
+import javax.inject.Singleton;
import java.io.IOException;
import java.net.BindException;
import java.net.ConnectException;
@@ -29,6 +30,7 @@ import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
+@Singleton
public class ServerManager implements LifecycleObject {
private static final Logger LOGGER = LoggerFactory.getLogger(ServerManager.class);