aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-10-19 10:40:22 +0300
committerGravatar Vitaly Takmazov2017-10-19 10:40:22 +0300
commitf53444c5122fca930904247fd8d4891d05989ea0 (patch)
treef07a85871b60c0ddf15966f7a44da1c4aa99eeb4
parenta4ec3fdb1b7d2c7188fa24ea4826c928f4e7b22a (diff)
xmpp: fix configuration
-rw-r--r--juick-xmpp/src/main/java/com/juick/components/configuration/XmppInitializer.java6
1 files changed, 4 insertions, 2 deletions
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