kodo.xmlstore
Class XMLStore
java.lang.Object
|
+--kodo.xmlstore.XMLStore
- public class XMLStore
- extends Object
Represents a store of object data encoded in XML. This store only allows
one datastore transaction to proceed at a time. File I/O errors can put
this store into an invalid state.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLStore
public XMLStore(XMLConfiguration conf)
- Constructor; supply configuration.
getData
public ObjectData getData(ClassMetaData meta,
Object oid)
- Return the data for the given oid, or null if it does not exist.
getData
public ObjectData[] getData(ClassMetaData meta)
- Return all datas for the base class of the given type.
beginTransaction
public void beginTransaction()
- Begin a datastore transaction. Obtains an exclusive write lock on the
store.
endTransaction
public void endTransaction(Collection updates,
Collection deletes)
- End the datastore transaction.
- Parameters:
updates
- ObjectData
instances to insert or updatedeletes
- ObjectData
instances to delete
Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.