|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkrb5.crypto.MyMarshalledObject
public class MyMarshalledObject
Class Description : A variation of Sun MyMarshalledObject class.
Constructor Summary | |
---|---|
MyMarshalledObject(byte[] data)
|
|
MyMarshalledObject(java.lang.Object obj)
Creates a new MarshalledObject that contains the
serialized representation of the current state of the supplied
object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Object |
get()
Returns a new copy of the contained marshalledobject. |
byte[] |
getByte()
|
static void |
main(java.lang.String[] args)
For unit test only |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MyMarshalledObject(java.lang.Object obj) throws java.io.IOException
MarshalledObject
that contains the
serialized representation of the current state of the supplied
object. The object is serialized with the semantics used for
marshaling parameters for RMI calls.
obj
- Object
java.io.IOException
public MyMarshalledObject(byte[] data)
Method Detail |
---|
public byte[] getByte()
public java.lang.Object get() throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public static void main(java.lang.String[] args)
args
- String[]
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |