diff options
Diffstat (limited to 'src/org/traccar/notification/NotificatorManager.java')
-rw-r--r-- | src/org/traccar/notification/NotificatorManager.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/org/traccar/notification/NotificatorManager.java b/src/org/traccar/notification/NotificatorManager.java index 147de47d3..a3b13ef25 100644 --- a/src/org/traccar/notification/NotificatorManager.java +++ b/src/org/traccar/notification/NotificatorManager.java @@ -24,15 +24,17 @@ import java.util.Set; import org.traccar.Context; import org.traccar.helper.Log; import org.traccar.model.Typed; +import org.traccar.notificators.NotificatorNull; +import org.traccar.notificators.Notificator; public final class NotificatorManager { - private static final String DEFAULT_WEB_NOTIFICATOR = "org.traccar.notification.NotificationWeb"; - private static final String DEFAULT_MAIL_NOTIFICATOR = "org.traccar.notification.NotificationMail"; - private static final String DEFAULT_SMS_NOTIFICATOR = "org.traccar.notification.NotificationSms"; + private static final String DEFAULT_WEB_NOTIFICATOR = "org.traccar.notificators.NotificatorWeb"; + private static final String DEFAULT_MAIL_NOTIFICATOR = "org.traccar.notificators.NotificatorMail"; + private static final String DEFAULT_SMS_NOTIFICATOR = "org.traccar.notificators.NotificatorSms"; private final Map<String, Notificator> notificators = new HashMap<>(); - private static final Notificator NULL_NOTIFICATOR = new NotificationNull(); + private static final Notificator NULL_NOTIFICATOR = new NotificatorNull(); public NotificatorManager() { final String[] types = Context.getConfig().getString("notificator.types", "").split(","); |