org.unitils.mock.core.proxy
Interface ProxyInvocationHandler

All Known Implementing Classes:
DummyObjectUtil.DummyObjectInvocationHandler, MatchingInvocationBuilder.InvocationHandler, MockProxy.InvocationHandler

public interface ProxyInvocationHandler

A class for handling method invocations of a proxy.

Author:
Tim Ducheyne, Filip Neven, Kenny Claes

Method Summary
 Object handleInvocation(ProxyInvocation proxyInvocation)
          Handles the given method invocation of the proxy.
 

Method Detail

handleInvocation

Object handleInvocation(ProxyInvocation proxyInvocation)
                        throws Throwable
Handles the given method invocation of the proxy.

Parameters:
proxyInvocation - The method invocation, not null
Returns:
The result value for the method invocation
Throws:
Throwable


Copyright © 2011. All Rights Reserved.