org.apache.commons.proxy
Interface Invoker
- All Known Implementing Classes:
- DuckTypingInvoker, InvocationHandlerAdapter, NullInvoker, XmlRpcInvoker
public interface Invoker
An invoker is responsible for handling a method invocation.
- Since:
- 1.0
- Author:
- James Carman
invoke
Object invoke(Object proxy,
Method method,
Object[] arguments)
throws Throwable
- "Invokes" the method. Implementation should throw a
InvokerException
if problems arise while trying to invoke the method.
- Parameters:
proxy
- the proxy objectmethod
- the method being invokedarguments
- the arguments
- Returns:
- the return value
- Throws:
Throwable
- thrown by the implementation
Copyright © 2005-2008 The Apache Software Foundation. All Rights Reserved.