Modifier and Type | Method and Description |
---|---|
protected OpenJPAConfiguration |
AbstractStoreManager.newConfiguration()
Return a new configuration instance for this runtime.
|
Constructor and Description |
---|
AbstractStoreBrokerFactory(OpenJPAConfiguration conf,
java.lang.String storeCls,
java.lang.String storeProps,
java.lang.String platform)
Construct the factory with the given settings.
|
Modifier and Type | Class and Description |
---|---|
class |
OpenJPAConfigurationImpl
Implementation of the
OpenJPAConfiguration interface. |
Modifier and Type | Field and Description |
---|---|
protected OpenJPAConfiguration |
AbstractQueryCache.conf
The configuration set by the system.
|
protected OpenJPAConfiguration |
AbstractDataCache.conf
The configuration set by the system.
|
Modifier and Type | Method and Description |
---|---|
(package private) static java.util.Set<java.lang.Class<?>> |
Caches.addTypesByName(OpenJPAConfiguration conf,
java.util.Collection<java.lang.String> classNames,
java.util.Set<java.lang.Class<?>> classes)
Utility to build up a set of classes from their class names
when operating outside the context of a persistence manager.
|
void |
DataCacheManagerImpl.initialize(OpenJPAConfiguration conf,
ObjectValue dataCache,
ObjectValue queryCache) |
void |
DataCacheManager.initialize(OpenJPAConfiguration conf,
ObjectValue dataCache,
ObjectValue queryCache)
Initialize the manager, supplying the cache configuration.
|
Constructor and Description |
---|
ClearableScheduler(OpenJPAConfiguration conf) |
DataCachePCDataGenerator(OpenJPAConfiguration conf) |
Modifier and Type | Method and Description |
---|---|
OpenJPAConfiguration |
PCDataGenerator.getConfiguration()
Return the configuration.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.Class<?>> |
ManagedClassSubclasser.prepareUnenhancedClasses(OpenJPAConfiguration conf,
java.util.Collection<? extends java.lang.Class<?>> classes,
java.lang.ClassLoader envLoader)
For each element in
classes , creates and registers a
new subclass that implements PersistenceCapable , and prepares
OpenJPA to handle new instances of the unenhanced type. |
static void |
ClassRedefiner.redefineClasses(OpenJPAConfiguration conf,
java.util.Map<java.lang.Class<?>,byte[]> classes)
For each element in
classes , this method will redefine
all the element's methods such that field accesses are intercepted
in-line. |
static boolean |
ApplicationIdTool.run(OpenJPAConfiguration conf,
java.lang.String[] args,
ApplicationIdTool.Flags flags,
java.lang.ClassLoader loader)
Run the tool.
|
static boolean |
PCEnhancer.run(OpenJPAConfiguration conf,
java.lang.String[] args,
Options opts)
Run the tool.
|
static boolean |
ApplicationIdTool.run(OpenJPAConfiguration conf,
java.lang.String[] args,
Options opts)
Run the application id tool with the given command-line and
given configuration.
|
static boolean |
PCEnhancer.run(OpenJPAConfiguration conf,
java.lang.String[] args,
PCEnhancer.Flags flags,
MetaDataRepository repos,
BytecodeWriter writer,
java.lang.ClassLoader loader)
Enhance the given classes.
|
Constructor and Description |
---|
ApplicationIdTool(OpenJPAConfiguration conf,
java.lang.Class type)
Constructs a new ApplicationIdTool capable of generating an
object id class for
type . |
ApplicationIdTool(OpenJPAConfiguration conf,
java.lang.Class type,
ClassMetaData meta)
Constructs a new tool instance capable of generating an
object id class for
meta . |
CodeGenerator(OpenJPAConfiguration conf,
java.lang.Class type)
Constructor.
|
PCDataGenerator(OpenJPAConfiguration conf) |
PCEnhancer(OpenJPAConfiguration conf,
serp.bytecode.BCClass type,
ClassMetaData meta)
Constructor.
|
PCEnhancer(OpenJPAConfiguration conf,
serp.bytecode.BCClass type,
MetaDataRepository repos)
Deprecated.
|
PCEnhancer(OpenJPAConfiguration conf,
serp.bytecode.BCClass type,
MetaDataRepository repos,
java.lang.ClassLoader loader)
Constructor.
|
PCEnhancer(OpenJPAConfiguration conf,
java.lang.Class type)
Constructor.
|
PCEnhancer(OpenJPAConfiguration conf,
ClassMetaData meta)
Constructor.
|
ReflectingPersistenceCapable(java.lang.Object o,
OpenJPAConfiguration conf) |
Constructor and Description |
---|
RemoteCommitEventManager(OpenJPAConfiguration conf)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
InstrumentationManagerImpl.initialize(OpenJPAConfiguration conf,
PluginListValue pluginVal)
Initializes all providers defined for the specified configuration.
|
void |
InstrumentationManager.initialize(OpenJPAConfiguration conf,
PluginListValue providers)
Used to initialize one or more providers using the supplied configuration.
|
Modifier and Type | Interface and Description |
---|---|
interface |
JDBCConfiguration
Configuration that defines the properties necessary to configure
runtime and connect to a JDBC DataSource.
|
Modifier and Type | Class and Description |
---|---|
class |
JDBCConfigurationImpl
Default implementation of the
JDBCConfiguration interface. |
Constructor and Description |
---|
MetaDataPlusMappingFactory(MetaDataFactory meta,
MetaDataFactory map,
OpenJPAConfiguration conf)
Constructor, supply delegates and Configuration.
|
Modifier and Type | Method and Description |
---|---|
OpenJPAConfiguration |
DelegatingBroker.getConfiguration() |
OpenJPAConfiguration |
AbstractBrokerFactory.getConfiguration()
Return the configuration for this factory.
|
OpenJPAConfiguration |
BrokerFactory.getConfiguration()
Return the configuration for this factory.
|
OpenJPAConfiguration |
DelegatingBrokerFactory.getConfiguration() |
OpenJPAConfiguration |
BrokerImpl.getConfiguration() |
OpenJPAConfiguration |
StoreContext.getConfiguration()
Return the configuration associated with this context.
|
Constructor and Description |
---|
AbstractBrokerFactory(OpenJPAConfiguration config)
Constructor.
|
DetachManagerLite(OpenJPAConfiguration conf) |
Modifier and Type | Method and Description |
---|---|
OpenJPAConfiguration |
Resolver.getConfiguration()
Return the OpenJPA configuration.
|
Modifier and Type | Method and Description |
---|---|
OpenJPAConfiguration |
MetaDataRepository.getConfiguration()
Return the configuration for the repository.
|
Modifier and Type | Method and Description |
---|---|
boolean |
NoneMetaDataFactory.isAbstractMappingUniDirectional(OpenJPAConfiguration conf) |
boolean |
MetaDataDefaults.isAbstractMappingUniDirectional(OpenJPAConfiguration conf)
Whether the relationship in MappedSuper class must be
uni-directional.
|
boolean |
NoneMetaDataFactory.isNonDefaultMappingAllowed(OpenJPAConfiguration conf) |
boolean |
MetaDataDefaults.isNonDefaultMappingAllowed(OpenJPAConfiguration conf)
Whether non-default mapping is allowed.
|
static boolean |
MetaDataTool.run(OpenJPAConfiguration conf,
java.lang.String[] args,
MetaDataTool.Flags flags,
MetaDataRepository repos,
java.lang.ClassLoader loader)
Run the tool.
|
static boolean |
MetaDataTool.run(OpenJPAConfiguration conf,
java.lang.String[] args,
Options opts)
Run the tool.
|
Constructor and Description |
---|
InMemoryRelatedFieldOrder(FieldMetaData rel,
boolean asc,
OpenJPAConfiguration conf) |
InMemoryValueOrder(boolean asc,
OpenJPAConfiguration conf) |
MetaDataTool(OpenJPAConfiguration conf,
java.lang.String action)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
OpenJPAConfiguration |
OpenJPAEntityManager.getConfiguration()
Deprecated.
cast to
OpenJPAEntityManagerSPI instead. This
method pierces the published-API boundary, as does the SPI cast. |
OpenJPAConfiguration |
XMLPersistenceMetaDataSerializer.getConfiguration()
Configuration.
|
OpenJPAConfiguration |
OpenJPAEntityManagerFactorySPI.getConfiguration()
Return the configuration for this factory.
|
OpenJPAConfiguration |
AnnotationPersistenceMetaDataSerializer.getConfiguration()
Configuration.
|
OpenJPAConfiguration |
AnnotationPersistenceMetaDataParser.getConfiguration()
Configuration supplied on construction.
|
OpenJPAConfiguration |
OpenJPAEntityManagerSPI.getConfiguration()
Return the configuration associated with this entity manager.
|
OpenJPAConfiguration |
EntityManagerFactoryImpl.getConfiguration() |
OpenJPAConfiguration |
OpenJPAEntityManagerFactory.getConfiguration()
Deprecated.
cast to
OpenJPAEntityManagerFactorySPI instead. This
method pierces the published-API boundary, as does the SPI cast. |
OpenJPAConfiguration |
EntityManagerImpl.getConfiguration() |
OpenJPAConfiguration |
XMLPersistenceMetaDataParser.getConfiguration()
Configuration supplied on construction.
|
OpenJPAConfiguration |
AnnotationPersistenceXMLMetaDataParser.getConfiguration()
Configuration supplied on construction.
|
protected OpenJPAConfiguration |
PersistenceProviderImpl.newConfigurationImpl() |
Modifier and Type | Method and Description |
---|---|
static int[] |
MetaDataParsers.getEventTypes(MetaDataTag tag,
OpenJPAConfiguration conf)
Return the event type constants for the given tag, or null if none.
|
boolean |
PersistenceMetaDataDefaults.isAbstractMappingUniDirectional(OpenJPAConfiguration conf) |
boolean |
PersistenceMetaDataDefaults.isNonDefaultMappingAllowed(OpenJPAConfiguration conf) |
void |
PersistenceMetaDataDefaults.setAbstractMappingUniDirectional(OpenJPAConfiguration conf) |
void |
PersistenceMetaDataDefaults.setNonDefaultMappingAllowed(OpenJPAConfiguration conf) |
void |
PersistenceProviderImpl.setPersistenceEnvironmentInfo(OpenJPAConfiguration conf,
javax.persistence.spi.PersistenceUnitInfo pui) |
static void |
MetaDataParsers.validateMethodsForSameCallback(java.lang.Class cls,
java.util.Collection<LifecycleCallbacks> callbacks,
java.lang.reflect.Method method,
MetaDataTag tag,
OpenJPAConfiguration conf,
Log log)
Validate that the given listener class does not have multiple methods
listening for the same lifecycle event, which is forbidden by the spec.
|
Constructor and Description |
---|
AnnotationPersistenceMetaDataParser(OpenJPAConfiguration conf)
Constructor; supply configuration.
|
AnnotationPersistenceMetaDataSerializer(OpenJPAConfiguration conf)
Constructor.
|
AnnotationPersistenceXMLMetaDataParser(OpenJPAConfiguration conf)
Constructor; supply configuration.
|
XMLPersistenceMetaDataParser(OpenJPAConfiguration conf)
Constructor; supply configuration.
|
XMLPersistenceMetaDataSerializer(OpenJPAConfiguration conf)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
OpenJPAConfiguration |
MetamodelImpl.getConfiguration() |
Modifier and Type | Method and Description |
---|---|
static boolean |
ValidationUtils.setupValidation(OpenJPAConfiguration conf)
Setup Validation support by determining if the javax.validation APIs
are available and then create a Validator if required by the
provided configuration.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DistributedConfiguration
A configuration for multiple data stores, each referred as slice.
|
Modifier and Type | Method and Description |
---|---|
OpenJPAConfiguration |
Slice.getConfiguration() |
Constructor and Description |
---|
Slice(java.lang.String name,
OpenJPAConfiguration conf)
Supply the logical name and configuration.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DistributedJDBCConfiguration
A distributed configuration that is a ordered collection of
JDBCConfigurations.
|
Modifier and Type | Class and Description |
---|---|
class |
DistributedJDBCConfigurationImpl
A specialized configuration embodies a set of Slice configurations.
|
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.String |
DistributedJDBCConfigurationImpl.getConnectionInfo(OpenJPAConfiguration conf) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ImplHelper.isManagedType(OpenJPAConfiguration conf,
java.lang.Class type)
Returns true if the specified class is a type that can be managed by
OpenJPA.
|
Constructor and Description |
---|
Id(java.lang.String str,
OpenJPAConfiguration conf,
java.lang.ClassLoader brokerLoader)
Create an id from the result of an
OpenJPAId.toString() call on another
instance. |
Modifier and Type | Class and Description |
---|---|
class |
XMLConfiguration
Configuration implementation for the XML file store.
|
Modifier and Type | Method and Description |
---|---|
protected OpenJPAConfiguration |
XMLStoreManager.newConfiguration() |
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.