|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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(ConfigurationProvider cp)
Factory method for obtaining a possibly-pooled factory from properties. |
Properties |
getProperties()
Subclasses should override this method to add a Platform
property listing the runtime platform, such as:
OpenJPA JDBC Edition: Oracle Database |
protected BrokerImpl |
newBrokerImpl(String user,
String pass)
Return a broker configured with the proper settings. |
static JDBCBrokerFactory |
newInstance(ConfigurationProvider cp)
Factory method for constructing a factory from properties. |
protected StoreManager |
newStoreManager()
Return a new StoreManager for this runtime. |
protected void |
synchronizeMappings(ClassLoader loader)
Synchronize the mappings of the classes listed in the configuration. |
Methods inherited from class org.apache.openjpa.kernel.AbstractBrokerFactory |
---|
addLifecycleListener, addListeners, addTransactionListener, close, configureBroker, findBroker, findTransactionalBroker, getConfiguration, getFactoryInitializationBanner, getOpenBrokers, getPooledFactoryForKey, getPoolKey, getUserObject, isClosed, 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 |
Constructor Detail |
---|
public JDBCBrokerFactory(JDBCConfiguration conf)
Method Detail |
---|
public static JDBCBrokerFactory newInstance(ConfigurationProvider cp)
Bootstrap.newBrokerFactory()
.
public static JDBCBrokerFactory getInstance(ConfigurationProvider cp)
Bootstrap.getBrokerFactory()
.
public Properties getProperties()
AbstractBrokerFactory
Platform
property listing the runtime platform, such as:
OpenJPA JDBC Edition: Oracle Database
getProperties
in interface BrokerFactory
getProperties
in class AbstractBrokerFactory
protected StoreManager newStoreManager()
AbstractBrokerFactory
AbstractBrokerFactory.newBroker()
method.
newStoreManager
in class AbstractBrokerFactory
protected BrokerImpl newBrokerImpl(String user, String pass)
AbstractBrokerFactory
newBrokerImpl
in class AbstractBrokerFactory
protected void synchronizeMappings(ClassLoader loader)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This documentation is deprecated and will be removed in the next release of WebLogic Server.