public class MuleTccProxyInvocationHandler extends Object implements InvocationHandler
| 构造器和说明 |
|---|
MuleTccProxyInvocationHandler(TransactionMethodProxyService methodProxyService,
InvocationHandler invocationHandler,
Class<?> beanClass)
新的实例对象
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Object |
generateProxyObject(TransactionMethodProxyService methodProxyService,
InvocationHandler invocationHandler,
Object targetObject)
生成代理对象
|
static Object |
generateProxyObject(TransactionMethodProxyService methodProxyService,
InvocationHandler invocationHandler,
Object targetObject,
Class<?> beanClass)
生成代理对象
|
Object |
invoke(Object proxy,
Method method,
Object[] args) |
public MuleTccProxyInvocationHandler(TransactionMethodProxyService methodProxyService, InvocationHandler invocationHandler, Class<?> beanClass)
methodProxyService - 事务代理方法服务invocationHandler - 对象原本的反向代理处理器beanClass - 对象类型public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke 在接口中 InvocationHandlerThrowablepublic static Object generateProxyObject(TransactionMethodProxyService methodProxyService, InvocationHandler invocationHandler, Object targetObject)
methodProxyService - 事务代理方法服务invocationHandler - 对象原本的反向代理处理器targetObject - 目标对象public static Object generateProxyObject(TransactionMethodProxyService methodProxyService, InvocationHandler invocationHandler, Object targetObject, Class<?> beanClass)
methodProxyService - 事务代理方法服务invocationHandler - 对象原本的反向代理处理器targetObject - 目标对象beanClass - 对象全类型Copyright © 2019. All rights reserved.