com.github.datalking.aop.framework.ReflectiveMethodInvocation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of play-ioc Show documentation
Show all versions of play-ioc Show documentation
simple ioc container with aop support.
The newest version!
package com.github.datalking.aop.framework;
import com.github.datalking.aop.ProxyMethodInvocation;
import com.github.datalking.aop.support.AopUtils;
import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;
import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* AOP Alliance MethodInvocation 基于反射调用方法
*
* @author yaoo on 4/18/18
*/
public class ReflectiveMethodInvocation implements ProxyMethodInvocation, Cloneable {
protected final Object proxy;
protected final Object target;
protected final Method method;
protected Object[] arguments;
private final Class> targetClass;
protected final List> interceptorsAndDynamicMethodMatchers;
private int currentInterceptorIndex = -1;
private Map userAttributes;
public ReflectiveMethodInvocation(Object proxy, Object target, Method method, Object[] arguments, Class> targetClass
, List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy