|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.remoting.support.RemoteInvocation
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.
RmiInvocationHandler
,
Serialized FormConstructor 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 |
public RemoteInvocation()
public RemoteInvocation(java.lang.String methodName, java.lang.Class[] argumentTypes, java.lang.Object[] arguments)
methodName
- the name of the method to invokeargumentTypes
- the argument types of the methodarguments
- the arguments for the invocationpublic RemoteInvocation(org.aopalliance.intercept.MethodInvocation methodInvocation)
methodInvocation
- the AOP invocation to convertMethod Detail |
public void setMethodName(java.lang.String methodName)
public java.lang.String getMethodName()
public void setParameterTypes(java.lang.Class[] parameterTypes)
public java.lang.Class[] getParameterTypes()
public void setArguments(java.lang.Object[] arguments)
public java.lang.Object[] getArguments()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |