oracle.ide.marshal
Interface ObjectStore
- public interface ObjectStore
The 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.
Method Summary |
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 . |
load
public java.lang.Object load(java.net.URL url)
throws java.io.IOException
- Creates a new instance of an object based on its peristent state
saved at the specified
URL
.
open
public boolean open(java.net.URL url,
java.lang.Object object)
throws java.io.IOException
- Initializes the specified object based on its persistent state
that is saved at the specified
URL
. This has the effect
of reloading or reverting an object's in-memory state.
save
public boolean save(java.net.URL url,
java.lang.Object object)
throws java.io.IOException
- Marshals the persistent properties of the specified object and
saves the persistent form at the specified
URL
.