Class DefaultRemoteInvocationExecutor
- java.lang.Object
- org.springframework.remoting.support.DefaultRemoteInvocationExecutor
- All Implemented Interfaces:
RemoteInvocationExecutor
public class DefaultRemoteInvocationExecutor extends Object implements RemoteInvocationExecutor
Default implementation of theRemoteInvocationExecutor
interface. Simply delegates toRemoteInvocation
's invoke method.- Since:
- 1.1
- Author:
- Juergen Hoeller
- See Also:
RemoteInvocation.invoke(java.lang.Object)
Constructor Summary
Constructors Constructor Description DefaultRemoteInvocationExecutor()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
invoke(RemoteInvocation invocation, Object targetObject)
Perform this invocation on the given target object.
Constructor Detail
DefaultRemoteInvocationExecutor
public DefaultRemoteInvocationExecutor()
Method Detail
invoke
public Object invoke(RemoteInvocation invocation, Object targetObject) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException
Description copied from interface:RemoteInvocationExecutor
Perform this invocation on the given target object. Typically called when a RemoteInvocation is received on the server.- Specified by:
invoke
in interfaceRemoteInvocationExecutor
- Parameters:
invocation
- the RemoteInvocationtargetObject
- the target object to apply the invocation to- Returns:
- the invocation result
- Throws:
NoSuchMethodException
- if the method name could not be resolvedIllegalAccessException
- if the method could not be accessedInvocationTargetException
- if the method invocation resulted in an exception- See Also:
Method.invoke(java.lang.Object, java.lang.Object...)