Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package org.apache.openjpa.abstractstore

OpenJPA Abstract StoreManager Implementation

See:
Description

Class Summary
AbstractStoreBrokerFactory | `BrokerFactory` implementation for use with the `AbstractStoreManager`.
AbstractStoreManager | Abstract store manager implementation to ease development of custom OpenJPA back-ends.

## Package org.apache.openjpa.abstractstore Description

OpenJPA Abstract StoreManager Implementation

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

To create support for a new data store:

- Extend `AbstractStoreManager` following the rules outlined in its documentation.

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

  `openjpa.BrokerFactory: abstractstore
  openjpa.abstractstore.AbstractStoreManager: com.xyz.MyAbstractStoreManagerSubclass`

Additionally, you can optionally extend `OpenJPAConfigurationImpl` to define your own configuration options, using the helper classes defined in the `org.apache.openjpa.lib.conf` package. To do this you must also override the `AbstractStoreManager.newConfiguration` method.

For a sample of how to use this package, see the `org.apache.openjpa.xmlstore` abstract store implementation.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.