diff options
author | Vitaly Takmazov | 2016-11-09 22:16:59 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-11-09 22:16:59 +0300 |
commit | e3ec404a47be5ac03493481301e45cebadb25f22 (patch) | |
tree | b768dfafd6f65896540481aeba907d4a4ee9dd5f | |
parent | ed332ce223f590165a0ea112096aafffdcedb00d (diff) |
components: remove @Component annotation to prevent double initialization
4 files changed, 0 insertions, 4 deletions
diff --git a/juick-crosspost/src/main/java/com/juick/components/Crosspost.java b/juick-crosspost/src/main/java/com/juick/components/Crosspost.java index 55d1370d..c0f11959 100644 --- a/juick-crosspost/src/main/java/com/juick/components/Crosspost.java +++ b/juick-crosspost/src/main/java/com/juick/components/Crosspost.java @@ -49,7 +49,6 @@ import java.util.logging.Logger; * * @author Ugnich Anton */ -@Component public class Crosspost implements DisposableBean, Stream.StreamListener, Message.MessageListener { private static Logger logger = Logger.getLogger(Crosspost.class.getName()); diff --git a/juick-notifications/src/main/java/com/juick/components/Notifications.java b/juick-notifications/src/main/java/com/juick/components/Notifications.java index 8cf5d5da..7bb81530 100644 --- a/juick-notifications/src/main/java/com/juick/components/Notifications.java +++ b/juick-notifications/src/main/java/com/juick/components/Notifications.java @@ -62,7 +62,6 @@ import java.util.logging.Logger; * * @author Ugnich Anton */ -@Component public class Notifications implements DisposableBean, Stream.StreamListener, MessageListener { private static Logger logger = Logger.getLogger(Notifications.class.getName()); diff --git a/juick-ws/src/main/java/com/juick/ws/WebsocketComponent.java b/juick-ws/src/main/java/com/juick/ws/WebsocketComponent.java index e87b96a5..4a9373b3 100644 --- a/juick-ws/src/main/java/com/juick/ws/WebsocketComponent.java +++ b/juick-ws/src/main/java/com/juick/ws/WebsocketComponent.java @@ -24,7 +24,6 @@ import java.util.logging.Logger; /** * Created by vitalyster on 28.06.2016. */ -@Component public class WebsocketComponent extends TextWebSocketHandler { @Inject diff --git a/juick-xmpp/src/main/java/com/juick/components/XMPPServer.java b/juick-xmpp/src/main/java/com/juick/components/XMPPServer.java index a091d477..96023873 100644 --- a/juick-xmpp/src/main/java/com/juick/components/XMPPServer.java +++ b/juick-xmpp/src/main/java/com/juick/components/XMPPServer.java @@ -34,7 +34,6 @@ import java.util.logging.Logger; * * @author ugnich */ -@Component public class XMPPServer implements DisposableBean, Stream.StreamListener, Message.MessageListener, Iq.IqListener, Presence.PresenceListener { |