org.springframework.aop.framework
Class Cglib2AopProxy.CglibMethodInvocation
java.lang.Object
org.springframework.aop.framework.ReflectiveMethodInvocation
org.springframework.aop.framework.Cglib2AopProxy.CglibMethodInvocation
- All Implemented Interfaces:
- java.lang.Cloneable, ProxyMethodInvocation
- Enclosing class:
- Cglib2AopProxy
private static class Cglib2AopProxy.CglibMethodInvocation
- extends ReflectiveMethodInvocation
Implementation of AOP Alliance MethodInvocation used by this AOP proxy.
Constructor Summary |
Cglib2AopProxy.CglibMethodInvocation(java.lang.Object proxy,
java.lang.Object target,
java.lang.reflect.Method method,
java.lang.Object[] arguments,
java.lang.Class targetClass,
java.util.List<java.lang.Object> interceptorsAndDynamicMethodMatchers,
MethodProxy methodProxy)
|
Method Summary |
protected java.lang.Object |
invokeJoinpoint()
Gives a marginal performance improvement versus using reflection to
invoke the target when invoking public methods. |
Methods inherited from class org.springframework.aop.framework.ReflectiveMethodInvocation |
getArguments, getMethod, getProxy, getStaticPart, getThis, getUserAttribute, getUserAttributes, invocableClone, invocableClone, proceed, setArguments, setUserAttribute, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
methodProxy
private final MethodProxy methodProxy
protectedMethod
private boolean protectedMethod
Cglib2AopProxy.CglibMethodInvocation
public Cglib2AopProxy.CglibMethodInvocation(java.lang.Object proxy,
java.lang.Object target,
java.lang.reflect.Method method,
java.lang.Object[] arguments,
java.lang.Class targetClass,
java.util.List<java.lang.Object> interceptorsAndDynamicMethodMatchers,
MethodProxy methodProxy)
invokeJoinpoint
protected java.lang.Object invokeJoinpoint()
throws java.lang.Throwable
- Gives a marginal performance improvement versus using reflection to
invoke the target when invoking public methods.
- Overrides:
invokeJoinpoint
in class ReflectiveMethodInvocation
- Returns:
- the return value of the joinpoint
- Throws:
java.lang.Throwable
- if invoking the joinpoint resulted in an exception