Package | Description |
---|---|
org.springframework.web.method |
Common infrastructure for handler method processing, as used by
Spring MVC's
org.springframework.web.servlet.mvc.method package. |
org.springframework.web.servlet.mvc.method.annotation |
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package. |
Modifier and Type | Method and Description |
---|---|
static List<ControllerAdviceBean> |
ControllerAdviceBean.findAnnotatedBeans(ApplicationContext applicationContext)
Find the names of beans annotated with
@ControllerAdvice in the given
ApplicationContext and wrap them as
ControllerAdviceBean instances. |
Modifier and Type | Method and Description |
---|---|
Map<ControllerAdviceBean,ExceptionHandlerMethodResolver> |
ExceptionHandlerExceptionResolver.getExceptionHandlerAdviceCache()
Return an unmodifiable Map with the
@ControllerAdvice
beans discovered in the ApplicationContext. |