接口的使用
org.springframework.messaging.handler.MessagingAdviceBean
使用MessagingAdviceBean的程序包 程序包 说明 org.springframework.messaging.handler.invocation Common infrastructure for invoking message handler methods.org.springframework.messaging.handler.invocation.reactive Common infrastructure for invoking message handler methods with non-blocking, and reactive contracts.org.springframework.messaging.handler.invocation中MessagingAdviceBean的使用
参数类型为MessagingAdviceBean的org.springframework.messaging.handler.invocation中的方法 修饰符和类型 方法 说明 protected void
AbstractMethodMessageHandler. registerExceptionHandlerAdvice(MessagingAdviceBean bean, AbstractExceptionHandlerMethodResolver resolver)
Subclasses can invoke this method to populate the MessagingAdviceBean cache (e.g. to support "global"@MessageExceptionHandler
).org.springframework.messaging.handler.invocation.reactive中MessagingAdviceBean的使用
参数类型为MessagingAdviceBean的org.springframework.messaging.handler.invocation.reactive中的方法 修饰符和类型 方法 说明 protected void
AbstractMethodMessageHandler. registerExceptionHandlerAdvice(MessagingAdviceBean bean, AbstractExceptionHandlerMethodResolver resolver)
Subclasses can invoke this method to populate the MessagingAdviceBean cache (e.g. to support "global"@MessageExceptionHandler
).