Class ControllerAdviceBean

java.lang.Object
org.springframework.web.method.ControllerAdviceBean
All Implemented Interfaces:
Ordered

public class ControllerAdviceBean extends Object implements Ordered
Encapsulates information about an @ControllerAdvice Spring-managed bean without necessarily requiring it to be instantiated. The findAnnotatedBeans(ApplicationContext) method can be used to discover such beans.

This class is internal to Spring Framework and is not meant to be used by applications to manually create @ControllerAdvice beans.

Since:
3.2
Author:
Rossen Stoyanchev, Brian Clozel, Juergen Hoeller, Sam Brannen