Package org.aoju.bus.proxy.invoker
Class InvocationInvoker
java.lang.Object
org.aoju.bus.proxy.invoker.InvocationInvoker
- All Implemented Interfaces:
Invocation,ProxyChain
切面实现类
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InvocationInvoker
public InvocationInvoker(org.aspectj.lang.ProceedingJoinPoint joinPoint)
-
-
Method Details
-
getNames
获取拦截的方法的参数列表- Specified by:
getNamesin interfaceProxyChain- Returns:
- 返回参数列表
-
getArguments
获取拦截的方法的参数列表- Specified by:
getArgumentsin interfaceInvocation- Returns:
- 返回参数列表
-
getProxy
获取要拦截的目标实例- Specified by:
getProxyin interfaceInvocation- Returns:
- 返回目标实例
-
getMethod
获取拦截的方法- Specified by:
getMethodin interfaceInvocation- Returns:
- 获取拦截的方法
-
proceed
执行方法- Specified by:
proceedin interfaceInvocation- Returns:
- 返回对象
- Throws:
Throwable- 抛出异常
-
proceed
执行方法- Specified by:
proceedin interfaceProxyChain- Parameters:
arguments- 参数- Returns:
- 返回对象
- Throws:
Throwable- 抛出异常
-