站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

DefaultRemoteInvocationExecutor (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

org.springframework.remoting.support
Class DefaultRemoteInvocationExecutor

java.lang.Object
  extended by org.springframework.remoting.support.DefaultRemoteInvocationExecutor
All Implemented Interfaces:
RemoteInvocationExecutor

public class DefaultRemoteInvocationExecutor
extends Object
implements RemoteInvocationExecutor

Default implementation of the RemoteInvocationExecutor interface. Simply delegates to RemoteInvocation's invoke.

Since:
1.1
Author:
Juergen Hoeller
See Also:
RemoteInvocation.invoke(java.lang.Object)

Constructor Summary
DefaultRemoteInvocationExecutor()
           
 
Method Summary
 Object invoke(RemoteInvocation invocation, 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 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 interface RemoteInvocationExecutor
targetObject - the target object to apply the invocation to
Returns:
the invocation result
Throws:
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
See Also:
Method.invoke(java.lang.Object, java.lang.Object...)

The Spring Framework

Copyright © 2002-2007 The Spring Framework.