Class N2oWebSocketAutoConfiguration

  • All Implemented Interfaces:
    org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer

    @Configuration
    @EnableWebSocketMessageBroker
    @ConditionalOnClass(org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer.class)
    @Import(N2oWebSocketHandshakeHandlerConfiguration.class)
    public class N2oWebSocketAutoConfiguration
    extends Object
    implements org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
    • Constructor Detail

      • N2oWebSocketAutoConfiguration

        public N2oWebSocketAutoConfiguration()
    • Method Detail

      • registerStompEndpoints

        public void registerStompEndpoints​(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
        Specified by:
        registerStompEndpoints in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
      • configureMessageBroker

        public void configureMessageBroker​(org.springframework.messaging.simp.config.MessageBrokerRegistry registry)
        Specified by:
        configureMessageBroker in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
      • wsController

        @Bean
        public WebSocketController wsController​(net.n2oapp.framework.api.MetadataEnvironment environment,
                                                net.n2oapp.framework.api.metadata.jackson.SingletonTypeIdHandlerInstantiator instantiator)