Package org.apache.openjpa.abstractstore
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
AbstractStoreManagerfollowing the rules outlined in its documentation. -
Configure your org.apache.openjpa.properties file (or your resource archive configuration file) to use
AbstractStoreBrokerFactory, and specify yourAbstractStoreextension as theorg.apache.openjpa.abstractstore.AbstractStoreManagerclass: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.
-
Class Summary Class Description AbstractStoreBrokerFactory BrokerFactoryimplementation for use with theAbstractStoreManager.AbstractStoreManager Abstract store manager implementation to ease development of custom OpenJPA back-ends.