Class AbstractStoreBrokerFactory

java.lang.Object
org.apache.openjpa.kernel.AbstractBrokerFactory
org.apache.openjpa.abstractstore.AbstractStoreBrokerFactory
All Implemented Interfaces:
Serializable, BrokerFactory, Closeable

public class AbstractStoreBrokerFactory extends AbstractBrokerFactory
BrokerFactory implementation for use with the AbstractStoreManager. This provides integration into the Bootstrap.getBrokerFactory() bootstrapping mechanism, to facilitate the process of creating a subclass of AbstractStoreManager. New store manager implementations need not extend this class. Instead, set the openjpa.BrokerFactory configuration property to abstractstore, and set the openjpa.abstractstore.AbstractStoreManager configuration property to the full class name of your implementation. Additionally, you can optionally create your own BrokerFactory implementation. However, we recommend that you use the AbstractStoreBrokerFactory, as it deals with pooling and bootstrapping from a Map object (the strategy used by Bootstrap to create a factory in a vendor-neutral manner).
See Also: