Class WebSocketAnnotationMethodMessageHandler
java.lang.Object
org.springframework.messaging.handler.invocation.AbstractMethodMessageHandler<SimpMessageMappingInfo>
org.springframework.messaging.simp.annotation.support.SimpAnnotationMethodMessageHandler
org.springframework.web.socket.messaging.WebSocketAnnotationMethodMessageHandler
- All Implemented Interfaces:
- Aware,- InitializingBean,- ApplicationContextAware,- EmbeddedValueResolverAware,- Lifecycle,- Phased,- SmartLifecycle,- MessageHandler
A subclass of 
SimpAnnotationMethodMessageHandler to provide support
 for ControllerAdvice with global @MessageExceptionHandler methods.- Since:
- 4.2
- Author:
- Rossen Stoyanchev
- 
Field SummaryFields inherited from class org.springframework.messaging.handler.invocation.AbstractMethodMessageHandlerloggerFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructorsConstructorDescriptionWebSocketAnnotationMethodMessageHandler(SubscribableChannel clientInChannel, MessageChannel clientOutChannel, SimpMessageSendingOperations brokerTemplate) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidInvoked by the containingBeanFactoryafter it has set all bean properties and satisfiedBeanFactoryAware,ApplicationContextAwareetc.Methods inherited from class org.springframework.messaging.simp.annotation.support.SimpAnnotationMethodMessageHandlercreateExceptionHandlerMethodResolverFor, getConversionService, getDestination, getDirectLookupDestinations, getHandlerMethodLogger, getHeaderInitializer, getLookupDestination, getMappingComparator, getMappingForMethod, getMatchingMapping, getMessageConverter, getPathMatcher, getPhase, getReturnValueHandlerLogger, getValidator, handleMatch, initArgumentResolvers, initReturnValueHandlers, isHandler, isRunning, resolveEmbeddedValuesInDestinations, setConversionService, setDestinationPrefixes, setEmbeddedValueResolver, setHeaderInitializer, setMessageConverter, setPathMatcher, setPhase, setValidator, start, stop, stopMethods inherited from class org.springframework.messaging.handler.invocation.AbstractMethodMessageHandlercreateHandlerMethod, detectHandlerMethods, getApplicationContext, getArgumentResolvers, getCustomArgumentResolvers, getCustomReturnValueHandlers, getDestinationPrefixes, getExceptionHandlerMethod, getHandlerMethods, getReturnValueHandlers, handleMessage, handleMessageInternal, handleNoMatch, processHandlerMethodException, registerExceptionHandlerAdvice, registerHandlerMethod, setApplicationContext, setArgumentResolvers, setCustomArgumentResolvers, setCustomReturnValueHandlers, setReturnValueHandlers, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.context.SmartLifecycleisAutoStartup
- 
Constructor Details- 
WebSocketAnnotationMethodMessageHandlerpublic WebSocketAnnotationMethodMessageHandler(SubscribableChannel clientInChannel, MessageChannel clientOutChannel, SimpMessageSendingOperations brokerTemplate) 
 
- 
- 
Method Details- 
afterPropertiesSetpublic void afterPropertiesSet()Description copied from interface:InitializingBeanInvoked by the containingBeanFactoryafter it has set all bean properties and satisfiedBeanFactoryAware,ApplicationContextAwareetc.This method allows the bean instance to perform validation of its overall configuration and final initialization when all bean properties have been set. - Specified by:
- afterPropertiesSetin interface- InitializingBean
- Overrides:
- afterPropertiesSetin class- AbstractMethodMessageHandler<SimpMessageMappingInfo>
 
 
-