de.netseeker.ejoe.request
Class RemotingRequest
java.lang.Object
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
Constructor Summary |
RemotingRequest()
Creates a empty RemotingRequest |
RemotingRequest(java.lang.String clazz,
java.lang.String method,
java.lang.Object[] args)
Creates a new RemotingRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UNIQUE_NAME
public static final java.lang.String UNIQUE_NAME
- See Also:
- Constant Field Values
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.TestClassmethod
- method or constructor name, which should be invocedargs
- the arguments for the targeted method/construtor
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.