no.tornado.brap.common
Class InvocationRequest

java.lang.Object
  extended by no.tornado.brap.common.InvocationRequest
All Implemented Interfaces:
java.io.Serializable

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

The request is created by the MethodInvocationHandler when it intercepts method calls. This object is then serialized using standard Java binary serialization and transported in the HTTP request body to the server.

See Also:
Serialized Form

Constructor Summary
InvocationRequest(java.lang.reflect.Method method, java.lang.Object[] parameters, java.io.Serializable credentials)
           
 
Method Summary
 java.io.Serializable getCredentials()
           
 java.lang.String getMethodName()
           
 java.lang.Object[] getParameters()
           
 java.lang.Class[] getParameterTypes()
           
 void setCredentials(java.io.Serializable credentials)
           
 void setMethodName(java.lang.String methodName)
           
 void setParameters(java.lang.Object[] parameters)
           
 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

InvocationRequest

public InvocationRequest(java.lang.reflect.Method method,
                         java.lang.Object[] parameters,
                         java.io.Serializable credentials)
Method Detail

getMethodName

public java.lang.String getMethodName()

setMethodName

public void setMethodName(java.lang.String methodName)

getParameterTypes

public java.lang.Class[] getParameterTypes()

setParameterTypes

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

getParameters

public java.lang.Object[] getParameters()

setParameters

public void setParameters(java.lang.Object[] parameters)

getCredentials

public java.io.Serializable getCredentials()

setCredentials

public void setCredentials(java.io.Serializable credentials)


Copyright © 2009 Syse Data AS. All Rights Reserved.