Package org.craftercms.studio.config
Class WebsocketConfig
- java.lang.Object
-
- org.craftercms.studio.config.WebsocketConfig
-
- All Implemented Interfaces:
org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
@Configuration @EnableWebSocketMessageBroker public class WebsocketConfig extends Object implements org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
Spring Websocket Configuration- Since:
- 4.0.0
- Author:
- joseross
-
-
Field Summary
Fields Modifier and Type Field Description protected StudioConfiguration
studioConfiguration
-
Constructor Summary
Constructors Constructor Description WebsocketConfig(StudioConfiguration studioConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry registry)
void
registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
-
-
-
Field Detail
-
studioConfiguration
protected StudioConfiguration studioConfiguration
-
-
Constructor Detail
-
WebsocketConfig
@Autowired public WebsocketConfig(StudioConfiguration studioConfiguration)
-
-
Method Detail
-
registerStompEndpoints
public void registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
- Specified by:
registerStompEndpoints
in interfaceorg.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
configureMessageBroker
public void configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry registry)
- Specified by:
configureMessageBroker
in interfaceorg.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
-