![JAR search and dependency download from the Maven repository](/logo.png)
org.test4j.mock.stub.ProxyInvokable Maven / Gradle / Ivy
package org.test4j.mock.stub;
public interface ProxyInvokable {
/**
* Performs an action in response to an invocation.
*
* @param invocation The invocation to perform.
* @return The result of the invocation, if not throwing an exception. Must
* return null
if the invoked method has a void return
* type.
* @throws Throwable An exception to be thrown to the caller, if not
* returning a value. Any checked exception thrown must be in
* the throws
list of the invoked method.
*/
Object invoke(ProxyInvocation invocation) throws Throwable;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy