????
+--AbstractJoinPoint
+--org.as2lib.aop.joinpoint.MethodJoinPoint
JoinPoint
MethodJoinPoint
represents a method as join point.
public function MethodJoinPoint(info:MethodInfo, thiz)
Constructs a new MethodJoinPoint
instance.
info | the info of the represented method |
thiz | the logical this of the interception |
IllegalArgumentException | if argument info is null or
undefined
|
public function getInfo(Void):TypeMemberInfo
Returns the info of the represented method. This is a MethodInfo instance.
the info of the represented method
public function proceed(args:Array)
Proceeds this join point by executing the represented method passing the given arguments and returning the result of the execution.
args | the arguments to use for the execution |
the result of the execution
public function getType(Void):Number
Returns the type of this join point.
AbstractJoinPoint#METHOD
public function update(thiz):JoinPoint
Returns a copy of this join point with an updated logical this. This join point is left unchanged.
thiz | the new logical this |
a copy of this join point with an updated logical this
public function snapshot(Void):JoinPoint
Returns a copy of this join point that reflects its current state.
It is common practice to create a new join point for a not-fixed method info. This is when the underlying concrete method this join point reflects may change. To make the concrete method and other parts that may change fixed you can use this method to get a new fixed join point, a snapshot.
a snapshot of this join point