com.googlecode.xremoting.core.invoked
Interface Invoker
- All Known Implementing Classes:
- DefaultInvoker
public interface Invoker
Services a remote invocation locally.
- Author:
- Roman Puchkovskiy
invoke
Object invoke(Object target,
Invocation invocation,
InvocationRestriction restriction)
throws InvokedSideInvocationException,
Throwable
- Invokes an invocation on a target object with restriction.
- Parameters:
target - object on which to call methodinvocation - what to invoke, and parametersrestriction - attributes which define how invocation will be
restricted
- Returns:
- invocation result
- Throws:
InvokedSideInvocationException - thrown if something is wrong
with invocation itself, like NoSuchMethodException or alike. Also,
thrown if invocation is not allowed due to restriction.
Throwable - anything thrown by the target
Copyright © 2012. All Rights Reserved.