クラスの使用
org.springframework.web.method.ControllerAdviceBean
ControllerAdviceBean を使用するパッケージ
パッケージ
説明
Spring MVC の
org.springframework.web.servlet.mvc.method
パッケージで使用される、ハンドラーメソッド処理の共通インフラストラクチャ。org.springframework.web.method.annotation
パッケージに基づいた、アノテーションベースのハンドラーメソッド処理のための MVC インフラストラクチャ。org.springframework.web.method 内の ControllerAdviceBean 使用
型 ControllerAdviceBean の引数を持つ型を返す org.springframework.web.method のメソッド修飾子と型メソッド説明static ListSE<ControllerAdviceBean>
ControllerAdviceBean.findAnnotatedBeans
(ApplicationContext context) 指定されたApplicationContext
で@ControllerAdvice
のアノテーションが付けられた Bean を見つけ、ControllerAdviceBean
インスタンスとしてラップします。org.springframework.web.servlet.mvc.method.annotation 内の ControllerAdviceBean 使用
型 ControllerAdviceBean の引数を持つ型を返す org.springframework.web.servlet.mvc.method.annotation のメソッド修飾子と型メソッド説明ExceptionHandlerExceptionResolver.getExceptionHandlerAdviceCache()
ApplicationContext で検出された@ControllerAdvice
Bean を含む変更不可能なマップを返します。