org.unitils.mock.core.matching
Class MatchingInvocationBuilder.InvocationHandler

java.lang.Object
  extended by org.unitils.mock.core.matching.MatchingInvocationBuilder.InvocationHandler
All Implemented Interfaces:
ProxyInvocationHandler
Enclosing class:
MatchingInvocationBuilder

protected class MatchingInvocationBuilder.InvocationHandler
extends Object
implements ProxyInvocationHandler


Constructor Summary
MatchingInvocationBuilder.InvocationHandler(MatchingInvocationHandler matchingInvocationHandler)
           
 
Method Summary
 Object handleInvocation(ProxyInvocation proxyInvocation)
          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

MatchingInvocationBuilder.InvocationHandler

public MatchingInvocationBuilder.InvocationHandler(MatchingInvocationHandler matchingInvocationHandler)
Method Detail

handleInvocation

public Object handleInvocation(ProxyInvocation proxyInvocation)
                        throws Throwable
Description copied from interface: ProxyInvocationHandler
Handles the given method invocation of the proxy.

Specified by:
handleInvocation in interface ProxyInvocationHandler
Parameters:
proxyInvocation - The method invocation, not null
Returns:
The result value for the method invocation
Throws:
Throwable


Copyright © 2011. All Rights Reserved.