Overview | Package | Class | Tree | Deprecated | Index | Help
| SolarMetric Kodo JDO 3.4.1 generated on May 30 2006
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package kodo.abstractstore

Abstract StoreManager Implementation

See:
Description

Class Summary
AbstractStoreManager | Abstract store manager implementation to ease development of custom Kodo back-ends.
AbstractStorePersistenceManagerFactory | `PersistenceManagerFactory` implementation for use with the `AbstractStoreManager`.

## Package kodo.abstractstore Description

Abstract StoreManager Implementation

This package provides some infrastructure classes to help in the creation of JDO drivers for new non-relational data stores.

To create support for a new data store:

- Extend `AbstractStoreManager` following the rules outlined in its documentation. You will need to implement methods to: check for the existence of a given OID in the data store; load a given set of fields into an existing instance; load all the default fields for an as-yet-unloaded instance; flush all changes made in a transaction to the data store; and load all instances of a given type (and its subtypes) from the data store. There are additional methods that you can optionally override in order to support other options such as incremental flushing and datastore identity.

- Configure your kodo.properties file (or your resource archive configuration file) to use `AbstractStorePersistenceManagerFactory`, and specify your `AbstractStore` extension as the `kodo.abstractstore.AbstractStoreManager` class:

  `javax.jdo.PersistenceManagerFactoryClass: kodo.abstractstore.AbstractStorePersistenceManagerFactory kodo.abstractstore.AbstractStoreManager: com.xyz.MyAbstractStoreManagerSubclass`

Additionally, you can optionally extend `JDOConfigurationImpl` to define your own configuration options, using the helper classes defined in the `com.solarmetric.conf` package. To do this you must also override the `AbstractStoreManager.newConfiguration` method.

Overview | Package | Class | Tree | Deprecated | Index | Help
| SolarMetric Kodo JDO 3.4.1 generated on May 30 2006
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.