From f53444c5122fca930904247fd8d4891d05989ea0 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 19 Oct 2017 10:40:22 +0300 Subject: xmpp: fix configuration --- .../java/com/juick/components/configuration/XmppInitializer.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'juick-xmpp') diff --git a/juick-xmpp/src/main/java/com/juick/components/configuration/XmppInitializer.java b/juick-xmpp/src/main/java/com/juick/components/configuration/XmppInitializer.java index 34f91a85..38dc05d4 100644 --- a/juick-xmpp/src/main/java/com/juick/components/configuration/XmppInitializer.java +++ b/juick-xmpp/src/main/java/com/juick/components/configuration/XmppInitializer.java @@ -17,6 +17,8 @@ package com.juick.components.configuration; +import com.juick.configuration.DataConfiguration; +import com.juick.server.configuration.StorageConfiguration; import org.apache.commons.codec.CharEncoding; import org.springframework.web.filter.CharacterEncodingFilter; import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer; @@ -30,12 +32,12 @@ public class XmppInitializer extends AbstractAnnotationConfigDispatcherServletIn @Override protected Class[] getRootConfigClasses() { - return new Class[]{}; + return new Class[]{ XmppAppConfiguration.class, DataConfiguration.class, StorageConfiguration.class}; } @Override protected Class[] getServletConfigClasses() { - return new Class[]{ XmppAppConfiguration.class}; + return null; } @Override -- cgit v1.2.3