Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.javatools.marshal
Interface ObjectStore

All Known Implementing Classes:
HashStructureIO, ListStructureIO, Object2Dom, XMLObjectStore

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.

 

Method Detail

load

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.
Throws:
java.io.IOException

open

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.
Throws:
java.io.IOException

save

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.
Throws:
java.io.IOException

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.