org.apache.openjpa.slice.jdbc
Class DistributedJDBCBrokerFactory
java.lang.Object
org.apache.openjpa.kernel.AbstractBrokerFactory
org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory
org.apache.openjpa.slice.jdbc.DistributedJDBCBrokerFactory
- All Implemented Interfaces:
- Serializable, BrokerFactory, org.apache.openjpa.lib.util.Closeable
public class DistributedJDBCBrokerFactory
- extends JDBCBrokerFactory
A factory for distributed JDBC datastores.
- Author:
- Pinaki Poddar
- See Also:
- Serialized Form
Methods inherited from class org.apache.openjpa.kernel.AbstractBrokerFactory |
addLifecycleListener, addListeners, addTransactionListener, close, configureBroker, findBroker, findTransactionalBroker, getOpenBrokers, getPooledFactoryForKey, getPoolKey, getUserObject, isClosed, loadPersistentTypes, lock, makeReadOnly, newBroker, newBroker, newBroker, newBroker, newBroker, pool, putUserObject, readResolve, releaseBroker, removeLifecycleListener, removeTransactionListener, setup, toPoolKey, unlock |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DistributedJDBCBrokerFactory
public DistributedJDBCBrokerFactory(DistributedJDBCConfiguration conf)
newInstance
public static DistributedJDBCBrokerFactory newInstance(org.apache.openjpa.lib.conf.ConfigurationProvider cp)
- Factory method for constructing a factory from properties. Invoked from
Bootstrap.newBrokerFactory()
.
getInstance
public static JDBCBrokerFactory getInstance(org.apache.openjpa.lib.conf.ConfigurationProvider cp)
- Factory method for obtaining a possibly-pooled factory from properties.
Invoked from
Bootstrap.getBrokerFactory()
.
getInstance
public static JDBCBrokerFactory getInstance(JDBCConfiguration conf)
- Factory method for constructing a factory from a configuration.
getConfiguration
public DistributedJDBCConfiguration getConfiguration()
- Specified by:
getConfiguration
in interface BrokerFactory
- Overrides:
getConfiguration
in class AbstractBrokerFactory
newStoreManager
protected StoreManager newStoreManager()
- Overrides:
newStoreManager
in class JDBCBrokerFactory
getFactoryInitializationBanner
protected Object getFactoryInitializationBanner()
- Overrides:
getFactoryInitializationBanner
in class AbstractBrokerFactory
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.