类 AbstractExpressionPointcut
java.lang.Object
infra.aop.support.AbstractExpressionPointcut
- 所有已实现的接口:
Pointcut,ExpressionPointcut,Serializable
- 直接已知子类:
AspectJExpressionPointcut
public abstract class AbstractExpressionPointcut
extends Object
implements ExpressionPointcut, Serializable
Abstract superclass for expression pointcuts,
offering location and expression properties.
- 从以下版本开始:
- 4.0 2022/3/9 11:55
- 作者:
- Rod Johnson, Rob Harrop, Harry Yang
- 另请参阅:
-
嵌套类概要
从接口继承的嵌套类/接口 infra.aop.Pointcut
Pointcut.GetterPointcut, Pointcut.SetterPointcut -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Return this pointcut's expression.Return location information about the pointcut expression if available.protected voidonSetExpression(String expression) Called when a new pointcut expression is set.voidsetExpression(String expression) voidsetLocation(String location) Set the location for debugging.从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 infra.aop.Pointcut
getClassFilter, getMethodMatcher
-
字段详细资料
-
location
-
expression
-
-
构造器详细资料
-
AbstractExpressionPointcut
public AbstractExpressionPointcut()
-
-
方法详细资料
-
setLocation
Set the location for debugging. -
getLocation
Return location information about the pointcut expression if available. This is useful in debugging.- 返回:
- location information as a human-readable String,
or
nullif none is available
-
setExpression
-
onSetExpression
Called when a new pointcut expression is set. The expression should be parsed at this point if possible.This implementation is empty.
- 参数:
expression- the expression to set- 抛出:
IllegalArgumentException- if the expression is invalid- 另请参阅:
-
getExpression
Return this pointcut's expression.- 指定者:
getExpression在接口中ExpressionPointcut
-