See: Description
Class | Description |
---|---|
AbstractStoreBrokerFactory |
BrokerFactory implementation for use with the
AbstractStoreManager . |
AbstractStoreManager |
Abstract store manager implementation to ease development of custom
OpenJPA back-ends.
|
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.
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.