@Configuration @EnableWebSocketMessageBroker @ComponentScan(basePackageClasses=HeartbeatController.class) @Import(value={RootStompConfig.class,GuiceBeansConfig.class}) public class AgentStompConfig extends org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer
Constructor and Description |
---|
AgentStompConfig(javax.servlet.ServletContext servletContext,
com.google.inject.Injector injector) |
Modifier and Type | Method and Description |
---|---|
void |
configureClientInboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration) |
void |
configureClientOutboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration) |
void |
configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry registry) |
void |
configureWebSocketTransport(org.springframework.web.socket.config.annotation.WebSocketTransportRegistration registration) |
org.springframework.web.socket.server.support.DefaultHandshakeHandler |
getHandshakeHandler() |
void |
registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry) |
STOMPUpdateListener |
requestSTOMPListener(com.google.inject.Injector injector) |
public AgentStompConfig(javax.servlet.ServletContext servletContext, com.google.inject.Injector injector)
@Bean public STOMPUpdateListener requestSTOMPListener(com.google.inject.Injector injector)
public org.springframework.web.socket.server.support.DefaultHandshakeHandler getHandshakeHandler()
public void registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
public void configureClientInboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration)
configureClientInboundChannel
in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
configureClientInboundChannel
in class org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer
public void configureClientOutboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration)
configureClientOutboundChannel
in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
configureClientOutboundChannel
in class org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer
public void configureWebSocketTransport(org.springframework.web.socket.config.annotation.WebSocketTransportRegistration registration)
configureWebSocketTransport
in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
configureWebSocketTransport
in class org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer
public void configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry registry)
configureMessageBroker
in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
configureMessageBroker
in class org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer
Copyright © 2022 Apache Software Foundation. All rights reserved.