public class WebSocketAnnotationMethodMessageHandler extends SimpAnnotationMethodMessageHandler
@MessageExceptionHandler メソッドで ControllerAdvice をサポートする SimpAnnotationMethodMessageHandler のサブクラス。loggerDEFAULT_PHASE| コンストラクターと説明 |
|---|
WebSocketAnnotationMethodMessageHandler(SubscribableChannel clientInChannel, MessageChannel clientOutChannel, SimpMessageSendingOperations brokerTemplate) |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | afterPropertiesSet() |
createExceptionHandlerMethodResolverFor, getConversionService, getDestination, getDirectLookupDestinations, getHandlerMethodLogger, getHeaderInitializer, getLookupDestination, getMappingComparator, getMappingForMethod, getMatchingMapping, getMessageConverter, getPathMatcher, getReturnValueHandlerLogger, getValidator, handleMatch, initArgumentResolvers, initReturnValueHandlers, isHandler, isRunning, resolveEmbeddedValuesInDestinations, setConversionService, setDestinationPrefixes, setEmbeddedValueResolver, setHeaderInitializer, setMessageConverter, setPathMatcher, setValidator, start, stop, stopcreateHandlerMethod, detectHandlerMethods, getApplicationContext, getArgumentResolvers, getCustomArgumentResolvers, getCustomReturnValueHandlers, getDestinationPrefixes, getExceptionHandlerMethod, getHandlerMethods, getReturnValueHandlers, handleMessage, handleMessageInternal, handleNoMatch, processHandlerMethodException, registerExceptionHandlerAdvice, registerHandlerMethod, setApplicationContext, setArgumentResolvers, setCustomArgumentResolvers, setCustomReturnValueHandlers, setReturnValueHandlers, toStringcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEgetPhase, isAutoStartuppublic WebSocketAnnotationMethodMessageHandler(SubscribableChannel clientInChannel, MessageChannel clientOutChannel, SimpMessageSendingOperations brokerTemplate)
public void afterPropertiesSet()
InitializingBeanBeanFactoryAware、ApplicationContextAware などを満たした後、包含 BeanFactory によって呼び出されます。このメソッドにより、Bean インスタンスは、すべての Bean プロパティが設定されたときに、その全体的な構成の検証と最終的な初期化を実行できます。
InitializingBean の afterPropertiesSet AbstractMethodMessageHandler<SimpMessageMappingInfo> の afterPropertiesSet