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
 java.lang.Object handleInvocation(ProxyInvocation proxyInvocation)
          Handles the given method invocation of the proxy.
 

Method Detail

handleInvocation

java.lang.Object handleInvocation(ProxyInvocation proxyInvocation)
                                  throws java.lang.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:
java.lang.Throwable


Copyright © 2009. All Rights Reserved.