org.unitils.mock.core
Class MockProxy.InvocationHandler

java.lang.Object
  extended by org.unitils.mock.core.MockProxy.InvocationHandler
All Implemented Interfaces:
ProxyInvocationHandler
Enclosing class:
MockProxy<T>

protected class MockProxy.InvocationHandler
extends Object
implements ProxyInvocationHandler


Constructor Summary
protected MockProxy.InvocationHandler()
           
 
Method Summary
 Object handleInvocation(ProxyInvocation invocation)
          Handles the given method invocation of the proxy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockProxy.InvocationHandler

protected MockProxy.InvocationHandler()
Method Detail

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.