From f0e054736583ff57cd21b6296c9b7105d6187e72 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 26 Mar 2018 20:13:29 +0300 Subject: notifications: cleanup configuration --- .../NotificationsAppConfiguration.java | 36 ---------------------- 1 file changed, 36 deletions(-) delete mode 100644 juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java (limited to 'juick-notifications/src/main') diff --git a/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java b/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java deleted file mode 100644 index 5ccacf60..00000000 --- a/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java +++ /dev/null @@ -1,36 +0,0 @@ -package com.juick.components.configuration; - -import com.juick.components.Notifications; -import com.juick.components.service.JuickServerComponent; -import com.juick.components.service.JuickServerReconnectManager; -import com.juick.server.configuration.BaseWebConfiguration; -import org.springframework.context.annotation.*; -import org.springframework.scheduling.annotation.EnableScheduling; -import org.springframework.web.servlet.config.annotation.EnableWebMvc; -import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; - -/** - * Created by aalexeev on 11/12/16. - */ -@Configuration -@EnableWebMvc -@EnableScheduling -@ComponentScan(basePackages = "com.juick.components.service") -@Import({ APNSConfiguration.class, MPNSConfiguration.class, - GCMConfiguration.class, JuickServerWebsocketConfiguration.class, BaseWebConfiguration.class}) -public class NotificationsAppConfiguration implements WebMvcConfigurer { - - @Bean - public JuickServerComponent juickServerComponent() { - return new JuickServerComponent(); - } - @Bean - public JuickServerReconnectManager juickServerReconnectManager() { - return new JuickServerReconnectManager(); - } - - @Bean - public Notifications push() { - return new Notifications(); - } -} -- cgit v1.2.3