|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.queue.MethodArgument
This class represents a single argument of the processing request. It
contains information about the class and the actual argument value.
Supported API: false
Extendable: false
Field Summary | |
private Object |
arg
|
private Class |
argType
|
(package private) boolean |
argumentException
|
private static String |
CLASSNAME
|
(package private) Throwable |
exception
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
Constructor Summary | |
MethodArgument()
No-arg public constructor. |
|
MethodArgument(Class arg_type,
Object arg)
Constructs a MethodArgument object given the type and the object. |
Method Summary | |
boolean |
argumentExceptionOccured()
|
Object |
getArg()
Gets the value of the attribute: arg; Actual argument object. |
Class |
getArgType()
Gets the value of the attribute: argType; Class of the argument. |
Throwable |
getArguementException()
|
Object |
getObject()
Retrieves the object contained in the MethodArgument. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(MethodArgument thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setArg(Object a_Arg)
Sets the value of the attribute: arg; Actual argument object. |
void |
setArgType(Class a_ArgType)
Sets the value of the attribute: argType; Class of the argument. |
String |
toString()
Creates a string representation of the method argument. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private Class argType
private Object arg
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
boolean argumentException
Throwable exception
Constructor Detail |
public MethodArgument(Class arg_type, Object arg)
arg_type
- arg
- public MethodArgument()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(MethodArgument thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public Class getArgType()
public void setArgType(Class a_ArgType)
a_ArgType
- public Object getArg()
public void setArg(Object a_Arg)
a_Arg
- public Object getObject()
public String toString()
public boolean argumentExceptionOccured()
public Throwable getArguementException()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |