diff options
author | Vitaly Takmazov | 2018-03-26 20:13:29 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-03-26 20:13:29 +0300 |
commit | f0e054736583ff57cd21b6296c9b7105d6187e72 (patch) | |
tree | dfb9995b790c47527547813a290eead18b6cca03 /juick-notifications/src/main | |
parent | 374d6a1e44074ba6784263c079c5e64eee589da4 (diff) |
notifications: cleanup configuration
Diffstat (limited to 'juick-notifications/src/main')
-rw-r--r-- | juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java | 36 |
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(); - } -} |