接口 AspectJPrecedenceInformation
- 所有超级接口:
Ordered
- 所有已知实现类:
AbstractAspectJAdvice
,AspectJAfterAdvice
,AspectJAfterReturningAdvice
,AspectJAfterThrowingAdvice
,AspectJAroundAdvice
,AspectJMethodBeforeAdvice
public interface AspectJPrecedenceInformation extends Ordered
Interface to be implemented by types that can supply the information needed to sort advice/advisors by AspectJ's precedence rules.- 从以下版本开始:
- 2.0
- 作者:
- Adrian Colyer
- 另请参阅:
AspectJPrecedenceComparator
字段概要
从接口继承的字段 org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 String
getAspectName()
Return the name of the aspect (bean) in which the advice was declared.int
getDeclarationOrder()
Return the declaration order of the advice member within the aspect.boolean
isAfterAdvice()
Return whether this is an after advice.boolean
isBeforeAdvice()
Return whether this is a before advice.
方法详细资料
getAspectName
String getAspectName()
Return the name of the aspect (bean) in which the advice was declared.
getDeclarationOrder
int getDeclarationOrder()
Return the declaration order of the advice member within the aspect.
isBeforeAdvice
boolean isBeforeAdvice()
Return whether this is a before advice.
isAfterAdvice
boolean isAfterAdvice()
Return whether this is an after advice.