aboutsummaryrefslogtreecommitdiff
path: root/juick-notifications/src/main/java/com/juick/components
diff options
context:
space:
mode:
Diffstat (limited to 'juick-notifications/src/main/java/com/juick/components')
-rw-r--r--juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java36
1 files changed, 0 insertions, 36 deletions
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();
- }
-}