|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.kernel.AbstractBrokerFactory org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory
public class JDBCBrokerFactory
BrokerFactory type for use with the JDBC runtime.
Constructor Summary | |
---|---|
JDBCBrokerFactory(JDBCConfiguration conf)
Construct the factory with the given option settings; however, the factory construction methods are recommended. |
Method Summary | |
---|---|
static JDBCBrokerFactory |
getInstance(org.apache.openjpa.lib.conf.ConfigurationProvider cp)
Factory method for obtaining a possibly-pooled factory from properties. |
static JDBCBrokerFactory |
getInstance(JDBCConfiguration conf)
Factory method for constructing a factory from a configuration. |
java.util.Properties |
getProperties()
|
protected org.apache.openjpa.kernel.BrokerImpl |
newBrokerImpl(java.lang.String user,
java.lang.String pass)
|
static JDBCBrokerFactory |
newInstance(org.apache.openjpa.lib.conf.ConfigurationProvider cp)
Factory method for constructing a factory from properties. |
protected org.apache.openjpa.kernel.StoreManager |
newStoreManager()
|
Methods inherited from class org.apache.openjpa.kernel.AbstractBrokerFactory |
---|
addLifecycleListener, addLifecycleListeners, close, configureBroker, findBroker, findTransactionalBroker, getConfiguration, getPooledFactory, getPooledFactory, getUserObject, isClosed, lock, makeReadOnly, newBroker, newBroker, newBroker, newBroker, newBroker, pool, putUserObject, readResolve, removeLifecycleListener, setup, unlock |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JDBCBrokerFactory(JDBCConfiguration conf)
Method Detail |
---|
public static JDBCBrokerFactory newInstance(org.apache.openjpa.lib.conf.ConfigurationProvider cp)
Bootstrap.newBrokerFactory()
.
public static JDBCBrokerFactory getInstance(org.apache.openjpa.lib.conf.ConfigurationProvider cp)
Bootstrap.getBrokerFactory()
.
public static JDBCBrokerFactory getInstance(JDBCConfiguration conf)
public java.util.Properties getProperties()
getProperties
in interface org.apache.openjpa.kernel.BrokerFactory
getProperties
in class org.apache.openjpa.kernel.AbstractBrokerFactory
protected org.apache.openjpa.kernel.StoreManager newStoreManager()
newStoreManager
in class org.apache.openjpa.kernel.AbstractBrokerFactory
protected org.apache.openjpa.kernel.BrokerImpl newBrokerImpl(java.lang.String user, java.lang.String pass)
newBrokerImpl
in class org.apache.openjpa.kernel.AbstractBrokerFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |