public static class CglibProxyMethodInterceptor.CglibProxyInvocation extends ProxyInvocation
| Constructor and Description |
|---|
CglibProxyMethodInterceptor.CglibProxyInvocation(String mockName,
Method method,
List<Object> arguments,
StackTraceElement[] invokedAt,
Object proxy,
net.sf.cglib.proxy.MethodProxy methodProxy)
Creates an invocation.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
invokeOriginalBehavior()
Invokes the original behavior by calling the method proxy.
|
getArguments, getArgumentsAtInvocationTime, getInvokedAt, getInvokedAtTrace, getLineNumber, getMethod, getMockName, getNrOfNotNullArguments, getProxypublic CglibProxyMethodInterceptor.CglibProxyInvocation(String mockName, Method method, List<Object> arguments, StackTraceElement[] invokedAt, Object proxy, net.sf.cglib.proxy.MethodProxy methodProxy)
mockName - The name of the mock, not nullmethod - The method that was called, not nullarguments - The arguments that were used, not nullinvokedAt - The location of the invocation, not nullproxy - The proxy, not nullmethodProxy - The cglib method proxy, not nullpublic Object invokeOriginalBehavior() throws Throwable
invokeOriginalBehavior in class ProxyInvocationThrowableCopyright © 2016. All Rights Reserved.