public interface Invoker
| Modifier and Type | Method and Description |
|---|---|
Object |
invoke(Object target,
Invocation invocation,
InvocationRestriction restriction)
Invokes an invocation on a target object with restriction.
|
Object invoke(Object target, Invocation invocation, InvocationRestriction restriction) throws InvokedSideInvocationException, Throwable
target - object on which to call methodinvocation - what to invoke, and parametersrestriction - attributes which define how invocation will be
restrictedInvokedSideInvocationException - 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 targetCopyright © 2015. All Rights Reserved.