org.springframework.remoting.support

Class DefaultRemoteInvocationExecutor

  • java.lang.Object
    • org.springframework.remoting.support.DefaultRemoteInvocationExecutor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Object invoke(RemoteInvocation invocation, java.lang.Object targetObject)
      Perform this invocation on the given target object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultRemoteInvocationExecutor

        public DefaultRemoteInvocationExecutor()
    • Method Detail

      • invoke

        public java.lang.Object invoke(RemoteInvocation invocation,
                                       java.lang.Object targetObject)
                                throws java.lang.NoSuchMethodException,
                                       java.lang.IllegalAccessException,
                                       java.lang.reflect.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 interface RemoteInvocationExecutor
        Parameters:
        invocation - the RemoteInvocation
        targetObject - the target object to apply the invocation to
        Returns:
        the invocation result
        Throws:
        java.lang.NoSuchMethodException - if the method name could not be resolved
        java.lang.IllegalAccessException - if the method could not be accessed
        java.lang.reflect.InvocationTargetException - if the method invocation resulted in an exception
        See Also:
        Method.invoke(java.lang.Object, java.lang.Object...)