org.nico.aoc.aspect.point.ProcessingAspectPoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of noaoc Show documentation
Show all versions of noaoc Show documentation
Provides aop and ioc capabilities
package org.nico.aoc.aspect.point;
import java.lang.reflect.Method;
public class ProcessingAspectPoint extends AspectPoint{
public ProcessingAspectPoint(Object beProxyObj, Method method, Object[] args) {
super(beProxyObj, method, args);
}
public Object process() throws Throwable {
return beProxyObj.getClass().getDeclaredMethod(method.getName(), method.getParameterTypes()).invoke(beProxyObj, args);
}
}