diff options
author | Vitaly Takmazov | 2018-03-16 17:24:59 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-03-16 17:24:59 +0300 |
commit | 714614963bb5d6706124da0186cb59a8e11825a2 (patch) | |
tree | 261c404890c24907307e6160fa97f9043481230d /juick-common/src/main/java/com/juick/server/component | |
parent | 5bf87fded01c550eddc7605eee8ffbc6771dc5fb (diff) |
boot: fix configurations
Diffstat (limited to 'juick-common/src/main/java/com/juick/server/component')
-rw-r--r-- | juick-common/src/main/java/com/juick/server/component/JuickServerComponent.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/juick-common/src/main/java/com/juick/server/component/JuickServerComponent.java b/juick-common/src/main/java/com/juick/server/component/JuickServerComponent.java index 792f446f..dba1f480 100644 --- a/juick-common/src/main/java/com/juick/server/component/JuickServerComponent.java +++ b/juick-common/src/main/java/com/juick/server/component/JuickServerComponent.java @@ -5,6 +5,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.ApplicationEventPublisher; import org.springframework.scheduling.annotation.Scheduled; +import org.springframework.stereotype.Component; import org.springframework.web.socket.CloseStatus; import org.springframework.web.socket.PingMessage; import org.springframework.web.socket.TextMessage; @@ -17,6 +18,7 @@ import javax.inject.Inject; import java.io.IOException; import java.util.concurrent.atomic.AtomicBoolean; +@Component public class JuickServerComponent extends TextWebSocketHandler { private static Logger logger = LoggerFactory.getLogger(JuickServerComponent.class); @Inject |