Package net.n2oapp.framework.boot
Class N2oWebSocketAutoConfiguration
- java.lang.Object
-
- net.n2oapp.framework.boot.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 Summary
Constructors Constructor Description N2oWebSocketAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry registry)voidregisterStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)WebSocketControllerwsController(net.n2oapp.framework.api.MetadataEnvironment environment, net.n2oapp.framework.api.metadata.jackson.SingletonTypeIdHandlerInstantiator instantiator)
-
-
-
Method Detail
-
registerStompEndpoints
public void registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
- Specified by:
registerStompEndpointsin interfaceorg.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
configureMessageBroker
public void configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry registry)
- Specified by:
configureMessageBrokerin interfaceorg.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)
-
-