| java.lang.Object org.apache.ojb.broker.metadata.RepositoryPersistor
RepositoryPersistor | public class RepositoryPersistor implements Configurable(Code) | | This class is responsible for reading and writing DescriptorRepository objects
from and to persistent media.
Currently only XML file based persistence is supported.
author: Thomas Mahler author: Armin Waibel version: $Id: RepositoryPersistor.java,v 1.24.2.4 2005/12/21 22:26:11 tomdz Exp $ |
RepositoryPersistor | public RepositoryPersistor()(Code) | | |
readDescriptorRepository | public DescriptorRepository readDescriptorRepository(String filename) throws MalformedURLException, ParserConfigurationException, SAXException, IOException(Code) | | Read the repository configuration file.
If configuration property useSerializedRepository is true
all subsequent calls read a serialized version of the repository.
The directory where the serialized repository is stored can be specified
with the serializedRepositoryPath entry in OJB.properties.
Once a serialized repository is found changes to repository.xml will be
ignored. To force consideration of these changes the serialized repository
must be deleted manually.
|
|
|