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 | 
|---|---|
java.lang.Class<?> | 
getBeanType()
Return the type of the contained advice bean. 
 | 
boolean | 
isApplicableToBeanType(java.lang.Class<?> beanType)
Whether this  
MessagingAdviceBean applies to the given bean type. | 
java.lang.Object | 
resolveBean()
Return the advice bean instance, if necessary resolving a bean specified
 by name through the BeanFactory. 
 | 
@Nullable java.lang.Class<?> getBeanType()
If the bean type is a CGLIB-generated class, the original user-defined class is returned.
java.lang.Object resolveBean()
boolean isApplicableToBeanType(java.lang.Class<?> beanType)
MessagingAdviceBean applies to the given bean type.beanType - the type of the bean to check