Example usage for Java org.springframework.web.method ControllerAdviceBean fields, constructors, methods, implement or subclass
The text is from its open source code.
ControllerAdviceBean(String beanName, BeanFactory beanFactory) Create a ControllerAdviceBean using the given bean name and BeanFactory . |
List | findAnnotatedBeans(ApplicationContext context) Find beans annotated with ControllerAdvice @ControllerAdvice in the given ApplicationContext and wrap them as ControllerAdviceBean instances. |
Class> | getBeanType() Return the type of the contained bean. |
boolean | isApplicableToBeanType(@Nullable Class> beanType) Check whether the given bean type should be advised by this ControllerAdviceBean . |
Object | resolveBean() Get the bean instance for this ControllerAdviceBean , if necessary resolving the bean name through the BeanFactory . |