Package org.proxy4j.core
Interface ProxyHandler<T>
-
public interface ProxyHandler<T>A method invocation handler for proxy invocations.
- Since:
- 1.0
- Author:
- Brennan Spies
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objecthandle(ProxyInvocation<T> invocation)Handles the method invocation on the proxy.
-
-
-
Method Detail
-
handle
Object handle(ProxyInvocation<T> invocation) throws Throwable
Handles the method invocation on the proxy.- Parameters:
invocation- The invocation on the proxy- Returns:
- The return value of the invocation
- Throws:
Throwable- If an error is thrown from the invocation
-
-