|
SolarMetric Kodo JDO 3.3.5 generated on August 31 2005 | ||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
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 . |
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.
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.
|
SolarMetric Kodo JDO 3.3.5 generated on August 31 2005 | ||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |