diff options
author | 2016-11-08 16:36:52 +0300 | |
---|---|---|
committer | 2016-11-08 17:45:40 +0300 | |
commit | 7270411d55c154e42c942caeaf4d4b942d72dea2 (patch) | |
tree | c102da1c5265d8eed69c3441ccdbb4c953a983ba /juick-xmpp/src/main/java/com/juick/components/configuration | |
parent | 40c1a196d019fbaf3dd8f0d8f6d1bdc8225bb7a0 (diff) |
ws: fix injection
Diffstat (limited to 'juick-xmpp/src/main/java/com/juick/components/configuration')
-rw-r--r-- | juick-xmpp/src/main/java/com/juick/components/configuration/XMPPConfiguration.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/juick-xmpp/src/main/java/com/juick/components/configuration/XMPPConfiguration.java b/juick-xmpp/src/main/java/com/juick/components/configuration/XMPPConfiguration.java index 1695de6a..7cada270 100644 --- a/juick-xmpp/src/main/java/com/juick/components/configuration/XMPPConfiguration.java +++ b/juick-xmpp/src/main/java/com/juick/components/configuration/XMPPConfiguration.java @@ -39,6 +39,8 @@ public class XMPPConfiguration extends WebMvcConfigurationSupport { Environment env; @Inject ExecutorService service; + @Inject + JdbcTemplate jdbc; @Bean JdbcTemplate jdbc() { @@ -78,7 +80,7 @@ public class XMPPConfiguration extends WebMvcConfigurationSupport { } @Bean public XMPPServer xmpp() { - return new XMPPServer(env, service); + return new XMPPServer(env, service, jdbc); } @Bean public ExecutorService service() { |