public class DefaultMethodInvocation extends MethodInvocation implements MethodInvocation
arguments, method, proxy, target| 构造器和说明 |
|---|
DefaultMethodInvocation(Object proxy,
Object target,
Method method,
Object[] arguments) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Object |
doJoinPoint() |
Object[] |
getArguments() |
Method |
getJoinPoint()
MethodInvocation will return the Method object,
ConstructorInvocation will return the Constructor object
|
Object |
getThis() |
Object |
proceed() |
void |
setInterceptors(List<MethodInterceptor> interceptors) |
getMethod, getProxy, getTarget, setArguments, setMethod, setProxy, setTargetpublic void setInterceptors(List<MethodInterceptor> interceptors)
public Method getJoinPoint()
InvocationgetJoinPoint 在接口中 Invocation<Method>public Object[] getArguments()
getArguments 在接口中 Invocation<Method>getArguments 在类中 MethodInvocationpublic Object getThis()
getThis 在接口中 Invocation<Method>protected Object doJoinPoint()
Copyright © 2020. All rights reserved.