com.sun.jini.outrigger
Interface StorableObject

All Known Subinterfaces:
StorableResource

public interface StorableObject

Interface that must be implemented by objects that must persist their state.

Since:
2.0
Author:
Sun Microsystems, Inc.
See Also:
LogOps

Method Summary
 void restore(ObjectInputStream in)
          Restore the persistent fields
 void store(ObjectOutputStream out)
          Store the persistent fields
 

Method Detail

store

void store(ObjectOutputStream out)
           throws IOException
Store the persistent fields

Throws:
IOException

restore

void restore(ObjectInputStream in)
             throws IOException,
                    ClassNotFoundException
Restore the persistent fields

Throws:
IOException
ClassNotFoundException


Copyright 2007, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.