ist.palcom.storage.persistent
Interface Persistent

All Known Subinterfaces:
Taggable
All Known Implementing Classes:
DiabetesTest

public interface Persistent

A simple interface for building persistent objects on platforms where serialization is not available.


Method Summary
 byte[] persist()
          Called to persist an object.
 void resurrect(byte[] data)
          Called to resurrect a persistent object.
 

Method Detail

persist

byte[] persist()
               throws java.io.IOException
Called to persist an object.

Returns:
the seralized byte array
Throws:
java.io.IOException

resurrect

void resurrect(byte[] data)
               throws java.io.IOException
Called to resurrect a persistent object.

Parameters:
data - the seralized byte array
Throws:
java.io.IOException