public interface MessagingAdviceBean extends Ordered
Component stereotypes such as
 @Controller with annotation
 handler methods often need cross-cutting functionality across all or a subset
 of such annotated components. A primary example of this is the need for "global"
 annotated exception handler methods but the concept applies more generally.
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Modifier and Type | Method and Description | 
|---|---|
| Class<?> | getBeanType()Return the type of the contained advice bean. | 
| boolean | isApplicableToBeanType(Class<?> beanType)Whether this  MessagingAdviceBeanapplies to the given bean type. | 
| Object | resolveBean()Return the advice bean instance, if necessary resolving a bean specified
 by name through the BeanFactory. | 
@Nullable Class<?> getBeanType()
If the bean type is a CGLIB-generated class, the original user-defined class is returned.
Object resolveBean()
boolean isApplicableToBeanType(Class<?> beanType)
MessagingAdviceBean applies to the given bean type.beanType - the type of the bean to check