public class MethodInvocationProceedingJoinPoint extends Object implements org.aspectj.lang.ProceedingJoinPoint, org.aspectj.lang.JoinPoint.StaticPart
ProceedingJoinPoint interface
wrapping an AOP Alliance MethodInvocation.
Note: The getThis() method returns the current Spring AOP proxy.
The getTarget() method returns the current Spring AOP target (which may be
null if there is no target instance) as a plain POJO without any advice.
If you want to call the object and have the advice take effect, use getThis().
A common example is casting the object to an introduced interface in the implementation of
an introduction. There is no such distinction between target and proxy in AspectJ itself.
| 构造器和说明 |
|---|
MethodInvocationProceedingJoinPoint(ProxyMethodInvocation methodInvocation)
Create a new MethodInvocationProceedingJoinPoint, wrapping the given
Spring ProxyMethodInvocation object.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Object[] |
getArgs() |
int |
getId() |
String |
getKind() |
org.aspectj.lang.Signature |
getSignature() |
SourceLocation |
getSourceLocation() |
org.aspectj.lang.JoinPoint.StaticPart |
getStaticPart() |
Object |
getTarget()
Returns the Spring AOP target.
|
Object |
getThis()
Returns the Spring AOP proxy.
|
Object |
proceed() |
Object |
proceed(Object[] arguments) |
void |
set$AroundClosure(org.aspectj.runtime.internal.AroundClosure aroundClosure) |
String |
toLongString() |
String |
toShortString() |
String |
toString() |
public MethodInvocationProceedingJoinPoint(ProxyMethodInvocation methodInvocation)
methodInvocation - the Spring ProxyMethodInvocation objectpublic void set$AroundClosure(org.aspectj.runtime.internal.AroundClosure aroundClosure)
set$AroundClosure 在接口中 org.aspectj.lang.ProceedingJoinPointpublic Object proceed() throws Throwable
proceed 在接口中 org.aspectj.lang.ProceedingJoinPointThrowablepublic Object proceed(Object[] arguments) throws Throwable
proceed 在接口中 org.aspectj.lang.ProceedingJoinPointThrowablepublic Object getThis()
null.getThis 在接口中 org.aspectj.lang.JoinPoint@Nullable public Object getTarget()
null if there is no target.getTarget 在接口中 org.aspectj.lang.JoinPointpublic Object[] getArgs()
getArgs 在接口中 org.aspectj.lang.JoinPointpublic org.aspectj.lang.Signature getSignature()
getSignature 在接口中 org.aspectj.lang.JoinPointgetSignature 在接口中 org.aspectj.lang.JoinPoint.StaticPartpublic SourceLocation getSourceLocation()
getSourceLocation 在接口中 org.aspectj.lang.JoinPointgetSourceLocation 在接口中 org.aspectj.lang.JoinPoint.StaticPartpublic String getKind()
getKind 在接口中 org.aspectj.lang.JoinPointgetKind 在接口中 org.aspectj.lang.JoinPoint.StaticPartpublic int getId()
getId 在接口中 org.aspectj.lang.JoinPoint.StaticPartpublic org.aspectj.lang.JoinPoint.StaticPart getStaticPart()
getStaticPart 在接口中 org.aspectj.lang.JoinPointpublic String toShortString()
toShortString 在接口中 org.aspectj.lang.JoinPointtoShortString 在接口中 org.aspectj.lang.JoinPoint.StaticPartpublic String toLongString()
toLongString 在接口中 org.aspectj.lang.JoinPointtoLongString 在接口中 org.aspectj.lang.JoinPoint.StaticPart