/* * Copyright (c) 2007 Mockito contributors * This program is made available under the terms of the MIT License. */ package org.powermock.api.mockito.repackaged.cglib.proxy; import java.lang.reflect.Method; /** * {@link java.lang.reflect.InvocationHandler} replacement (unavailable under JDK 1.2). * This callback type is primarily for use by the {@link Proxy} class but * may be used with {@link Enhancer} as well. * @author Neeme Praks <a href="mailto:neeme@apache.org">neeme@apache.org</a> * @version $Id: InvocationHandler.java,v 1.3 2004/06/24 21:15:20 herbyderby Exp $ */ public interface InvocationHandler extends Callback { /** * @see java.lang.reflect.InvocationHandler#invoke(Object, Method, Object) */ public Object invoke(Object proxy, Method method, Object[] args) throws Throwable; }