de.netseeker.ejoe.request
Class RemotingRequest

java.lang.Object
  extended by de.netseeker.ejoe.request.RemotingRequest
All Implemented Interfaces:
IRequest, java.io.Serializable

public class RemotingRequest
extends java.lang.Object
implements java.io.Serializable, IRequest

Since:
0.3.9.1
Author:
netseeker
See Also:
Serialized Form

Field Summary
static java.lang.String UNIQUE_NAME
           
 
Constructor Summary
RemotingRequest()
          Creates a empty RemotingRequest
RemotingRequest(java.lang.String clazz, java.lang.String method, java.lang.Object[] args)
          Creates a new RemotingRequest
 
Method Summary
 java.lang.Object[] getArgs()
           
 java.lang.String getClazz()
           
 java.lang.String getMethod()
           
 java.util.Map getRequestData()
           
 java.lang.String getUniqueName()
           
 void setArgs(java.lang.Object[] args)
           
 void setClazz(java.lang.String clazz)
           
 void setMethod(java.lang.String method)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNIQUE_NAME

public static final java.lang.String UNIQUE_NAME
See Also:
Constant Field Values
Constructor Detail

RemotingRequest

public RemotingRequest()
Creates a empty RemotingRequest


RemotingRequest

public RemotingRequest(java.lang.String clazz,
                       java.lang.String method,
                       java.lang.Object[] args)
Creates a new RemotingRequest

Parameters:
clazz - package path and class name, eg. com.test.TestClass
method - method or constructor name, which should be invoced
args - the arguments for the targeted method/construtor
Method Detail

getArgs

public java.lang.Object[] getArgs()
Returns:
the args

setArgs

public void setArgs(java.lang.Object[] args)
Parameters:
args - the arguments to set

getClazz

public java.lang.String getClazz()
Returns:
the targeted class

setClazz

public void setClazz(java.lang.String clazz)
Parameters:
clazz - the class to set

getMethod

public java.lang.String getMethod()
Returns:
the method

setMethod

public void setMethod(java.lang.String method)
Parameters:
method - the method to set

getRequestData

public java.util.Map getRequestData()
Returns:
a map containing class, method and arguments

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getUniqueName

public java.lang.String getUniqueName()
Specified by:
getUniqueName in interface IRequest


Copyright © 2005-2007 netseeker. All Rights Reserved.