diff options
author | Vitaly Takmazov | 2016-08-08 11:17:45 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-08-08 11:17:45 +0300 |
commit | 32111158ba5fd2481511cc2b5f09f921a1463bc1 (patch) | |
tree | 7efbb442155a12d6af2e29b746c1700edb982f39 /juick-ws/src/main/java/com/juick/ws/configuration | |
parent | 7ac5b7d2a20176587f6adec6ac1f77ca43032ec0 (diff) |
juick-ws: fix Environment injection
Diffstat (limited to 'juick-ws/src/main/java/com/juick/ws/configuration')
-rw-r--r-- | juick-ws/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/juick-ws/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java b/juick-ws/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java index 086ae4ce..495a3c91 100644 --- a/juick-ws/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java +++ b/juick-ws/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java @@ -96,25 +96,25 @@ public class WebsocketConfiguration extends WebMvcConfigurationSupport implement } @Bean public XMPPConnection ws() { - XMPPConnection ws = new XMPPConnection(); + XMPPConnection ws = new XMPPConnection(env); ws.init(); return ws; } @Bean public XMPPComponent xmpp() { - XMPPComponent xmpp = new XMPPComponent(); + XMPPComponent xmpp = new XMPPComponent(env); xmpp.init(); return xmpp; } @Bean public CrosspostComponent crosspost() { - CrosspostComponent crosspost = new CrosspostComponent(); + CrosspostComponent crosspost = new CrosspostComponent(env); crosspost.init(); return crosspost; } @Bean public PushComponent push() { - PushComponent push = new PushComponent(); + PushComponent push = new PushComponent(env); push.init(); return push; } |