aboutsummaryrefslogtreecommitdiff
path: root/juick-xmpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'juick-xmpp/src')
-rw-r--r--juick-xmpp/src/main/java/com/juick/components/configuration/XMPPConfiguration.java4
1 files changed, 1 insertions, 3 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 640c0d2b..9e7e6cad 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,8 +39,6 @@ public class XMPPConfiguration extends WebMvcConfigurationSupport {
Environment env;
@Inject
ExecutorService service;
- @Inject
- JdbcTemplate jdbc;
@Bean
JdbcTemplate jdbc() {
@@ -80,7 +78,7 @@ public class XMPPConfiguration extends WebMvcConfigurationSupport {
}
@Bean
public XMPPServer xmpp() {
- return new XMPPServer(env, service, jdbc);
+ return new XMPPServer(env, service, jdbc());
}
@Bean
public ExecutorService service() {