类 ControllerAdviceBean

  • 所有已实现的接口:
    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. However, a ControllerAdviceBean may be created from any object, including ones without an @ControllerAdvice.

    从以下版本开始:
    3.2
    作者:
    Rossen Stoyanchev, Brian Clozel, Juergen Hoeller