|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.sgs.impl.service.data.SerialUtil
final class SerialUtil
Defines serialization utilities. This class cannot be instantiated.
| Method Summary | |
|---|---|
(package private) static void |
check(Object object,
ObjectIOException cause)
Checks an object for direct references to managed objects, throwing an exception that contains debugging information about where the bad reference was found. |
(package private) static Object |
deserialize(byte[] data,
ClassSerialization classSerial)
Converts serialized data into an object. |
(package private) static byte[] |
serialize(ManagedObject object,
ClassSerialization classSerial)
Converts an managed object into serialized data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
static Object deserialize(byte[] data,
ClassSerialization classSerial)
data - the serialized dataclassSerial - controls reading of class descriptors
ObjectIOException - if a problem occurs deserializing the object
static byte[] serialize(ManagedObject object,
ClassSerialization classSerial)
object - the objectclassSerial - controls writing of class descriptors
ObjectIOException - if a problem occurs serializing the object
and, in particular, if a ManagedObject is
referenced without an intervening ManagedReference
static void check(Object object,
ObjectIOException cause)
object - the object to checkcause - the exception that prompted the check, or null
ObjectIOException - if a direct reference to a managed object is
found
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||