クラス WebSocketAnnotationMethodMessageHandler
java.lang.ObjectSE
org.springframework.messaging.handler.invocation.AbstractMethodMessageHandler<SimpMessageMappingInfo>
org.springframework.messaging.simp.annotation.support.SimpAnnotationMethodMessageHandler
org.springframework.web.socket.messaging.WebSocketAnnotationMethodMessageHandler
- 実装されているすべてのインターフェース:
Aware、InitializingBean、ApplicationContextAware、EmbeddedValueResolverAware、Lifecycle、Phased、SmartLifecycle、MessageHandler
グローバル
@MessageExceptionHandler メソッドで ControllerAdvice のサポートを提供する SimpAnnotationMethodMessageHandler のサブクラス。- 導入:
- 4.2
- 作成者:
- Rossen Stoyanchev
フィールドのサマリー
クラス org.springframework.messaging.handler.invocation.AbstractMethodMessageHandler から継承されたフィールド
loggerインターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASEコンストラクターの概要
コンストラクターコンストラクター説明WebSocketAnnotationMethodMessageHandler(SubscribableChannel clientInChannel, MessageChannel clientOutChannel, SimpMessageSendingOperations brokerTemplate) メソッドのサマリー
修飾子と型メソッド説明voidクラス org.springframework.messaging.simp.annotation.support.SimpAnnotationMethodMessageHandler から継承されたメソッド
createExceptionHandlerMethodResolverFor, 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, stopクラス org.springframework.messaging.handler.invocation.AbstractMethodMessageHandler から継承されたメソッド
createHandlerMethod, detectHandlerMethods, getApplicationContext, getArgumentResolvers, getCustomArgumentResolvers, getCustomReturnValueHandlers, getDestinationPrefixes, getExceptionHandlerMethod, getHandlerMethods, getReturnValueHandlers, handleMessage, handleMessageInternal, handleNoMatch, processHandlerMethodException, registerExceptionHandlerAdvice, registerHandlerMethod, setApplicationContext, setArgumentResolvers, setCustomArgumentResolvers, setCustomReturnValueHandlers, setReturnValueHandlers, toStringクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSEインターフェース org.springframework.context.SmartLifecycle から継承されたメソッド
isAutoStartup
コンストラクターの詳細
WebSocketAnnotationMethodMessageHandler
public WebSocketAnnotationMethodMessageHandler(SubscribableChannel clientInChannel, MessageChannel clientOutChannel, SimpMessageSendingOperations brokerTemplate)
メソッドの詳細
afterPropertiesSet
public void afterPropertiesSet()インターフェースからコピーされた説明:InitializingBeanすべての Bean プロパティを設定し、BeanFactoryAware、ApplicationContextAwareなどを満たした後、包含BeanFactoryによって呼び出されます。このメソッドにより、Bean インスタンスは、すべての Bean プロパティが設定されたときに、その全体的な構成の検証と最終的な初期化を実行できます。
- 次で指定:
- インターフェース
InitializingBeanのafterPropertiesSet - オーバーライド:
- クラス
AbstractMethodMessageHandler<SimpMessageMappingInfo>のafterPropertiesSet