no.tornado.brap.common
Class InvocationRequest

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

public class InvocationRequest
extends Object
implements 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(Method method, Object[] parameters, Serializable credentials)
           
 
Method Summary
 Serializable getCredentials()
           
 String getMethodName()
           
 Object[] getParameters()
           
 Class[] getParameterTypes()
           
 void setCredentials(Serializable credentials)
           
 void setMethodName(String methodName)
           
 void setParameters(Object[] parameters)
           
 void setParameterTypes(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(Method method,
                         Object[] parameters,
                         Serializable credentials)
Method Detail

getMethodName

public String getMethodName()

setMethodName

public void setMethodName(String methodName)

getParameterTypes

public Class[] getParameterTypes()

setParameterTypes

public void setParameterTypes(Class[] parameterTypes)

getParameters

public Object[] getParameters()

setParameters

public void setParameters(Object[] parameters)

getCredentials

public Serializable getCredentials()

setCredentials

public void setCredentials(Serializable credentials)


Copyright © 2009-2011 Syse Data AS. All Rights Reserved.