spring-framework / org.springframework.remoting.support / RemoteInvocationExecutor / invoke

invoke

abstract fun invoke(invocation: RemoteInvocation, targetObject: Any): Any

Perform this invocation on the given target object. Typically called when a RemoteInvocation is received on the server.

Parameters

invocation - the RemoteInvocation

targetObject - the target object to apply the invocation to

Exceptions

NoSuchMethodException - if the method name could not be resolved

IllegalAccessException - if the method could not be accessed

InvocationTargetException - if the method invocation resulted in an exception

Return
the invocation result

See Also
java.lang.reflect.Method#invoke