Uses of Interface
org.apache.openjpa.lib.conf.ConfigurationProvider
-
Packages that use ConfigurationProvider Package Description org.apache.openjpa.abstractstore OpenJPA Abstract StoreManager Implementationorg.apache.openjpa.conf OpenJPA Configurationorg.apache.openjpa.jdbc.conf OpenJPA-JDBC Configurationorg.apache.openjpa.jdbc.kernel OpenJPA-JDBC Runtime Kernelorg.apache.openjpa.kernel OpenJPA Runtime Kernelorg.apache.openjpa.lib.conf Configuration Frameworkorg.apache.openjpa.persistence OpenJPA JPAorg.apache.openjpa.slice.jdbc Implements Distributed version of JDBCStoreManager and JDBCStoreQuery. -
-
Uses of ConfigurationProvider in org.apache.openjpa.abstractstore
Methods in org.apache.openjpa.abstractstore with parameters of type ConfigurationProvider Modifier and Type Method Description static AbstractStoreBrokerFactory
AbstractStoreBrokerFactory. getInstance(ConfigurationProvider cp)
Factory method for obtaining a possibly-pooledBrokerFactory
from properties.static AbstractStoreBrokerFactory
AbstractStoreBrokerFactory. newInstance(ConfigurationProvider cp)
Factory method for constructing aBrokerFactory
from properties. -
Uses of ConfigurationProvider in org.apache.openjpa.conf
Methods in org.apache.openjpa.conf with parameters of type ConfigurationProvider Modifier and Type Method Description static java.lang.Object
BrokerFactoryValue. get(ConfigurationProvider cp)
Extract the value of this property if set in the given provider.static void
BrokerFactoryValue. set(ConfigurationProvider cp, java.lang.String value)
Set the value of this property in the given provider. -
Uses of ConfigurationProvider in org.apache.openjpa.jdbc.conf
Methods in org.apache.openjpa.jdbc.conf with parameters of type ConfigurationProvider Modifier and Type Method Description boolean
JDBCProductDerivation. beforeConfigurationConstruct(ConfigurationProvider cp)
-
Uses of ConfigurationProvider in org.apache.openjpa.jdbc.kernel
Methods in org.apache.openjpa.jdbc.kernel with parameters of type ConfigurationProvider Modifier and Type Method Description static JDBCBrokerFactory
JDBCBrokerFactory. getInstance(ConfigurationProvider cp, java.lang.ClassLoader loader)
Factory method for obtaining a possibly-pooled factory from properties.static JDBCBrokerFactory
JDBCBrokerFactory. newInstance(ConfigurationProvider cp)
Factory method for constructing a factory from properties. -
Uses of ConfigurationProvider in org.apache.openjpa.kernel
Methods in org.apache.openjpa.kernel with parameters of type ConfigurationProvider Modifier and Type Method Description static BrokerFactory
Bootstrap. getBrokerFactory(ConfigurationProvider conf, java.lang.ClassLoader loader)
Return a pooled factory for the given configuration.static BrokerFactory
Bootstrap. newBrokerFactory(ConfigurationProvider conf, java.lang.ClassLoader loader)
Return a new factory for the given configuration. -
Uses of ConfigurationProvider in org.apache.openjpa.lib.conf
Classes in org.apache.openjpa.lib.conf that implement ConfigurationProvider Modifier and Type Class Description class
MapConfigurationProvider
Simple configuration provider that sets configuration based on a provided map.Methods in org.apache.openjpa.lib.conf that return ConfigurationProvider Modifier and Type Method Description ConfigurationProvider
AbstractProductDerivation. load(java.io.File file, java.lang.String anchor)
ConfigurationProvider
AbstractProductDerivation. load(java.lang.String resource, java.lang.String anchor, java.lang.ClassLoader loader)
ConfigurationProvider
ProductDerivation. load(java.io.File file, java.lang.String anchor)
Load given file, or return null if it is not a file this receiver understands.ConfigurationProvider
ProductDerivation. load(java.lang.String resource, java.lang.String anchor, java.lang.ClassLoader loader)
Load the given given resource into the returned ConfigurationProvider, or return null if it is not a resource this receiver understands.static ConfigurationProvider
ProductDerivations. load(java.io.File file, java.lang.String anchor, java.lang.ClassLoader loader)
Load given file, or return false if it is not a file this provider understands.static ConfigurationProvider
ProductDerivations. load(java.lang.String resource, java.lang.String anchor, java.lang.ClassLoader loader)
Load the given given resource, or return false if it is not a resource this provider understands.ConfigurationProvider
AbstractProductDerivation. loadDefaults(java.lang.ClassLoader loader)
ConfigurationProvider
ProductDerivation. loadDefaults(java.lang.ClassLoader loader)
Load defaults into the returned ConfigurationProvider, or return null if no defaults are found.static ConfigurationProvider
ProductDerivations. loadDefaults(java.lang.ClassLoader loader)
Return aConfigurationProvider
that has parsed system defaults.ConfigurationProvider
AbstractProductDerivation. loadGlobals(java.lang.ClassLoader loader)
ConfigurationProvider
ProductDerivation. loadGlobals(java.lang.ClassLoader loader)
Load globals into the returned ConfigurationProvider, or return null if no globals are found.static ConfigurationProvider
ProductDerivations. loadGlobals(java.lang.ClassLoader loader)
Return aConfigurationProvider
that has parsed system globals.Methods in org.apache.openjpa.lib.conf with parameters of type ConfigurationProvider Modifier and Type Method Description boolean
AbstractProductDerivation. beforeConfigurationConstruct(ConfigurationProvider cp)
boolean
ProductDerivation. beforeConfigurationConstruct(ConfigurationProvider cp)
Provides the instance with a callback to mutate the initial properties of theConfigurationProvider
.static void
ProductDerivations. beforeConfigurationConstruct(ConfigurationProvider cp)
ApplyProductDerivation.beforeConfigurationConstruct(org.apache.openjpa.lib.conf.ConfigurationProvider)
callbacks to the the given instance. -
Uses of ConfigurationProvider in org.apache.openjpa.persistence
Classes in org.apache.openjpa.persistence that implement ConfigurationProvider Modifier and Type Class Description static class
PersistenceProductDerivation.ConfigurationProviderImpl
Custom configuration provider.Methods in org.apache.openjpa.persistence that return ConfigurationProvider Modifier and Type Method Description ConfigurationProvider
PersistenceProductDerivation. load(jakarta.persistence.spi.PersistenceUnitInfo pinfo, java.util.Map m)
Load configuration from the given persistence unit with the specified user properties.ConfigurationProvider
PersistenceProductDerivation. load(java.io.File file, java.lang.String anchor)
ConfigurationProvider
PersistenceProductDerivation. load(java.lang.String rsrc, java.lang.String anchor, java.lang.ClassLoader loader)
ConfigurationProvider
PersistenceProductDerivation. load(java.lang.String rsrc, java.lang.String name, java.util.Map m)
Load configuration from the given resource and unit names, which may be null.ConfigurationProvider
PersistenceProductDerivation. loadDefaults(java.lang.ClassLoader loader)
ConfigurationProvider
PersistenceProductDerivation. loadGlobals(java.lang.ClassLoader loader)
-
Uses of ConfigurationProvider in org.apache.openjpa.slice.jdbc
Methods in org.apache.openjpa.slice.jdbc with parameters of type ConfigurationProvider Modifier and Type Method Description static JDBCBrokerFactory
DistributedJDBCBrokerFactory. getInstance(ConfigurationProvider cp)
Factory method for obtaining a possibly-pooled factory from properties.static DistributedJDBCBrokerFactory
DistributedJDBCBrokerFactory. newInstance(ConfigurationProvider cp)
Factory method for constructing a factory from properties.Constructors in org.apache.openjpa.slice.jdbc with parameters of type ConfigurationProvider Constructor Description DistributedJDBCConfigurationImpl(ConfigurationProvider cp)
Configure itself as well as underlying slices.
-