Java org.springframework.web.method ControllerAdviceBean fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web.method ControllerAdviceBean fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web.method ControllerAdviceBean.

The text is from its open source code.

Constructor

ControllerAdviceBean(String beanName, BeanFactory beanFactory)
Create a ControllerAdviceBean using the given bean name and BeanFactory .

Method

ListfindAnnotatedBeans(ApplicationContext context)
Find beans annotated with ControllerAdvice @ControllerAdvice in the given ApplicationContext and wrap them as ControllerAdviceBean instances.
ClassgetBeanType()
Return the type of the contained bean.
booleanisApplicableToBeanType(@Nullable Class beanType)
Check whether the given bean type should be advised by this ControllerAdviceBean .
ObjectresolveBean()
Get the bean instance for this ControllerAdviceBean , if necessary resolving the bean name through the BeanFactory .