diff options
Diffstat (limited to 'juick-notifications/src')
-rw-r--r-- | juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java | 12 |
1 files changed, 2 insertions, 10 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 index 67293373..b557cfc7 100644 --- a/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java +++ b/juick-notifications/src/main/java/com/juick/components/configuration/NotificationsAppConfiguration.java @@ -5,19 +5,11 @@ import com.juick.components.Notifications; import com.juick.server.component.JuickServerComponent; import com.juick.server.component.JuickServerReconnectManager; import com.juick.server.configuration.BaseWebConfiguration; -import com.juick.server.configuration.JuickServerComponentConfiguration; -import org.springframework.beans.factory.annotation.Value; +import com.juick.server.configuration.JuickServerWebsocketConfiguration; import org.springframework.context.annotation.*; -import org.springframework.http.client.ClientHttpRequestInterceptor; -import org.springframework.http.client.InterceptingClientHttpRequestFactory; -import org.springframework.http.client.support.BasicAuthorizationInterceptor; import org.springframework.scheduling.annotation.EnableScheduling; -import org.springframework.web.client.RestTemplate; import org.springframework.web.servlet.config.annotation.EnableWebMvc; -import java.util.Collections; -import java.util.List; - /** * Created by aalexeev on 11/12/16. */ @@ -27,7 +19,7 @@ import java.util.List; @PropertySource("classpath:juick.conf") @ComponentScan(basePackages = "com.juick.components.service") @Import({ APNSConfiguration.class, MPNSConfiguration.class, - GCMConfiguration.class, JuickServerComponentConfiguration.class}) + GCMConfiguration.class, JuickServerWebsocketConfiguration.class}) public class NotificationsAppConfiguration extends BaseWebConfiguration { @Bean |