org.unitils.mock.core
Class MockProxy.InvocationHandler
java.lang.Object
org.unitils.mock.core.MockProxy.InvocationHandler
- All Implemented Interfaces:
- ProxyInvocationHandler
- Enclosing class:
- MockProxy<T>
protected class MockProxy.InvocationHandler
- extends Object
- implements ProxyInvocationHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockProxy.InvocationHandler
protected MockProxy.InvocationHandler()
handleInvocation
public Object handleInvocation(ProxyInvocation invocation)
throws Throwable
- Description copied from interface:
ProxyInvocationHandler
- Handles the given method invocation of the proxy.
- Specified by:
handleInvocation
in interface ProxyInvocationHandler
- Parameters:
invocation
- The method invocation, not null
- Returns:
- The result value for the method invocation
- Throws:
Throwable
Copyright © 2011. All Rights Reserved.