com.googlecode.xremoting.core.invoked
Interface Invoker

All Known Implementing Classes:
DefaultInvoker

public interface Invoker

Services a remote invocation locally.

Author:
Roman Puchkovskiy

Method Summary
 Object invoke(Object target, Invocation invocation, InvocationRestriction restriction)
          Invokes an invocation on a target object with restriction.
 

Method Detail

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 method
invocation - what to invoke, and parameters
restriction - 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.