org.springframework.remoting.support
Class RemoteInvocation

java.lang.Object
  extended byorg.springframework.remoting.support.RemoteInvocation
All Implemented Interfaces:
java.io.Serializable

public class RemoteInvocation
extends java.lang.Object
implements java.io.Serializable

JavaBean that encapsulates a remote invocation. Provides the core method invocation properties. Currently just used for RMI invokers, but not restricted to RMI.

This is an SPI class, typically not used directly by applications. Can be subclassed for additional invocation parameters.

Since:
25.02.2004
Author:
Juergen Hoeller
See Also:
RmiInvocationHandler, Serialized Form

Constructor Summary
RemoteInvocation()
          Create a new RemoteInvocation for use as JavaBean.
RemoteInvocation(org.aopalliance.intercept.MethodInvocation methodInvocation)
          Create a new RemoteInvocation for the given AOP method invocation.
RemoteInvocation(java.lang.String methodName, java.lang.Class[] argumentTypes, java.lang.Object[] arguments)
          Create a new RemoteInvocation for the given parameters.
 
Method Summary
 java.lang.Object[] getArguments()
           
 java.lang.String getMethodName()
           
 java.lang.Class[] getParameterTypes()
           
 void setArguments(java.lang.Object[] arguments)
           
 void setMethodName(java.lang.String methodName)
           
 void setParameterTypes(java.lang.Class[] parameterTypes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteInvocation

public RemoteInvocation()
Create a new RemoteInvocation for use as JavaBean.


RemoteInvocation

public RemoteInvocation(java.lang.String methodName,
                        java.lang.Class[] argumentTypes,
                        java.lang.Object[] arguments)
Create a new RemoteInvocation for the given parameters.

Parameters:
methodName - the name of the method to invoke
argumentTypes - the argument types of the method
arguments - the arguments for the invocation

RemoteInvocation

public RemoteInvocation(org.aopalliance.intercept.MethodInvocation methodInvocation)
Create a new RemoteInvocation for the given AOP method invocation.

Parameters:
methodInvocation - the AOP invocation to convert
Method Detail

setMethodName

public void setMethodName(java.lang.String methodName)

getMethodName

public java.lang.String getMethodName()

setParameterTypes

public void setParameterTypes(java.lang.Class[] parameterTypes)

getParameterTypes

public java.lang.Class[] getParameterTypes()

setArguments

public void setArguments(java.lang.Object[] arguments)

getArguments

public java.lang.Object[] getArguments()


Copyright (C) 2003-2004 The Spring Framework Project.