public interface ObjectStore
ObjectStore interface contains methods that are to
be implemented by a persistence framework that can traverse objects
whose persistent data are represented by public read-writable
JavaBean properties.| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
load(java.net.URL url)
Creates a new instance of an object based on its peristent state
saved at the specified
URL. |
boolean |
open(java.net.URL url,
java.lang.Object object)
Initializes the specified object based on its persistent state
that is saved at the specified
URL. |
boolean |
save(java.net.URL url,
java.lang.Object object)
Marshals the persistent properties of the specified object and
saves the persistent form at the specified
URL. |
java.lang.Object load(java.net.URL url)
throws java.io.IOException
URL.java.io.IOExceptionboolean open(java.net.URL url,
java.lang.Object object)
throws java.io.IOException
URL. This has the effect
of reloading or reverting an object's in-memory state.java.io.IOExceptionboolean save(java.net.URL url,
java.lang.Object object)
throws java.io.IOException
URL.java.io.IOException