Package org.apache.openjpa.kernel
Class Bootstrap
java.lang.Object
org.apache.openjpa.kernel.Bootstrap
Helper methods for acquiring
BrokerFactory
objects- Since:
- 0.4.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BrokerFactory
Return a pooled factory for the default configuration.static BrokerFactory
getBrokerFactory
(ConfigurationProvider conf, ClassLoader loader) Return a pooled factory for the given configuration.static BrokerFactory
Return a new factory for the default configuration.static BrokerFactory
newBrokerFactory
(ConfigurationProvider conf, ClassLoader loader) Return a new factory for the given configuration.
-
Constructor Details
-
Bootstrap
public Bootstrap()
-
-
Method Details
-
newBrokerFactory
Return a new factory for the default configuration. -
newBrokerFactory
Return a new factory for the given configuration. The classloader will be used to load the factory class. If no classloader is given, the thread's context classloader is used. -
getBrokerFactory
Return a pooled factory for the default configuration. -
getBrokerFactory
Return a pooled factory for the given configuration. The classloader will be used to load the factory class. If no classloader is given, the thread's context classloader is used.
-