Package | Description |
---|---|
org.apache.openjpa.abstractstore |
OpenJPA Abstract StoreManager Implementation
This package provides some infrastructure classes to help in the creation
of OpenJPA drivers for new non-relational data stores.
|
org.apache.openjpa.conf |
OpenJPA Configuration
This package provides base OpenJPA configuration interfaces.
|
org.apache.openjpa.datacache |
OpenJPA Data Cache
OpenJPA's data and query caching frameworks.
|
org.apache.openjpa.enhance |
OpenJPA Enhancer
This package provides a bytecode enhancer used to
post-process classes for use in a OpenJPA runtime.
|
org.apache.openjpa.event |
OpenJPA Events
This package provides some interfaces and useful implementations
for OpenJPA's event notification framework.
|
org.apache.openjpa.instrumentation | |
org.apache.openjpa.jdbc.conf |
OpenJPA-JDBC Configuration
This package provides JDBC configuration interfaces.
|
org.apache.openjpa.jdbc.meta |
OpenJPA-JDBC ORM Metadata
This package extends the standard persistence metadata with
object-relational mapping information.
|
org.apache.openjpa.kernel |
OpenJPA Runtime Kernel
This package provides a common OpenJPA runtime environment that can be
adapted for use with various data store mechanisms.
|
org.apache.openjpa.kernel.exps |
OpenJPA Expression Tree
|
org.apache.openjpa.meta |
OpenJPA Metadata
This package provides an extendable framework for parsing and caching
persistence metadata.
|
org.apache.openjpa.persistence |
OpenJPA JPA
This package provides an JPA facade to OpenJPA.
|
org.apache.openjpa.persistence.meta |
OpenJPA MetaModel
This package provides an implementation of Metamodel API of JPA 2.0 Specification.
|
org.apache.openjpa.persistence.validation | |
org.apache.openjpa.slice |
Extended OpenJPA Interfaces for distributed databases.
|
org.apache.openjpa.slice.jdbc |
Implements Distributed version of JDBCStoreManager and JDBCStoreQuery.
|
org.apache.openjpa.util |
OpenJPA Utilities
This package provides utilities to facilitate the handling of second
class objects and OpenJPA object ids.
|
org.apache.openjpa.xmlstore |
XML Store
Simple XML store using the common OpenJPA runtime system as a front end.
|
Modifier and Type | Method and Description |
---|---|
protected OpenJPAConfiguration |
AbstractStoreManager.newConfiguration()
Return a new configuration instance for this runtime.
|
Constructor and Description |
---|
AbstractStoreBrokerFactory(OpenJPAConfiguration conf,
String storeCls,
String storeProps,
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 Set<Class<?>> |
Caches.addTypesByName(OpenJPAConfiguration conf,
Collection<String> classNames,
Set<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 List<Class<?>> |
ManagedClassSubclasser.prepareUnenhancedClasses(OpenJPAConfiguration conf,
Collection<? extends Class<?>> classes,
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,
Map<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,
String[] args,
ApplicationIdTool.Flags flags,
ClassLoader loader)
Run the tool.
|
static boolean |
ApplicationIdTool.run(OpenJPAConfiguration conf,
String[] args,
Options opts)
Run the application id tool with the given command-line and
given configuration.
|
static boolean |
PCEnhancer.run(OpenJPAConfiguration conf,
String[] args,
Options opts)
Run the tool.
|
static boolean |
PCEnhancer.run(OpenJPAConfiguration conf,
String[] args,
PCEnhancer.Flags flags,
MetaDataRepository repos,
BytecodeWriter writer,
ClassLoader loader)
Enhance the given classes.
|
Constructor and Description |
---|
ApplicationIdTool(OpenJPAConfiguration conf,
Class type)
Constructs a new ApplicationIdTool capable of generating an
object id class for
type . |
ApplicationIdTool(OpenJPAConfiguration conf,
Class type,
ClassMetaData meta)
Constructs a new tool instance capable of generating an
object id class for
meta . |
CodeGenerator(OpenJPAConfiguration conf,
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,
ClassLoader loader)
Constructor.
|
PCEnhancer(OpenJPAConfiguration conf,
Class type)
Constructor.
|
PCEnhancer(OpenJPAConfiguration conf,
ClassMetaData meta)
Constructor.
|
ReflectingPersistenceCapable(Object o,
OpenJPAConfiguration conf) |
Constructor and Description |
---|
RemoteCommitEventManager(OpenJPAConfiguration conf)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
InstrumentationManager.initialize(OpenJPAConfiguration conf,
PluginListValue providers)
Used to initialize one or more providers using the supplied configuration.
|
void |
InstrumentationManagerImpl.initialize(OpenJPAConfiguration conf,
PluginListValue pluginVal)
Initializes all providers defined for the specified 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 |
BrokerFactory.getConfiguration()
Return the configuration for this factory.
|
OpenJPAConfiguration |
AbstractBrokerFactory.getConfiguration()
Return the configuration for this factory.
|
OpenJPAConfiguration |
StoreContext.getConfiguration()
Return the configuration associated with this context.
|
OpenJPAConfiguration |
DelegatingBroker.getConfiguration() |
OpenJPAConfiguration |
DelegatingBrokerFactory.getConfiguration() |
OpenJPAConfiguration |
BrokerImpl.getConfiguration() |
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,
String[] args,
MetaDataTool.Flags flags,
MetaDataRepository repos,
ClassLoader loader)
Run the tool.
|
static boolean |
MetaDataTool.run(OpenJPAConfiguration conf,
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,
String action)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
OpenJPAConfiguration |
EntityManagerFactoryImpl.getConfiguration() |
OpenJPAConfiguration |
EntityManagerImpl.getConfiguration() |
OpenJPAConfiguration |
AnnotationPersistenceXMLMetaDataParser.getConfiguration()
Configuration supplied on construction.
|
OpenJPAConfiguration |
XMLPersistenceMetaDataSerializer.getConfiguration()
Configuration.
|
OpenJPAConfiguration |
OpenJPAEntityManagerFactorySPI.getConfiguration()
Return the configuration for this factory.
|
OpenJPAConfiguration |
OpenJPAEntityManager.getConfiguration()
Deprecated.
cast to
OpenJPAEntityManagerSPI instead. This
method pierces the published-API boundary, as does the SPI cast. |
OpenJPAConfiguration |
AnnotationPersistenceMetaDataSerializer.getConfiguration()
Configuration.
|
OpenJPAConfiguration |
OpenJPAEntityManagerFactory.getConfiguration()
Deprecated.
cast to
OpenJPAEntityManagerFactorySPI instead. This
method pierces the published-API boundary, as does the SPI cast. |
OpenJPAConfiguration |
XMLPersistenceMetaDataParser.getConfiguration()
Configuration supplied on construction.
|
OpenJPAConfiguration |
AnnotationPersistenceMetaDataParser.getConfiguration()
Configuration supplied on construction.
|
OpenJPAConfiguration |
OpenJPAEntityManagerSPI.getConfiguration()
Return the configuration associated with this entity manager.
|
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(Class cls,
Collection<LifecycleCallbacks> callbacks,
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(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) String |
DistributedJDBCConfigurationImpl.getConnectionInfo(OpenJPAConfiguration conf) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ImplHelper.isManagedType(OpenJPAConfiguration conf,
Class type)
Returns true if the specified class is a type that can be managed by
OpenJPA.
|
Constructor and Description |
---|
Id(String str,
OpenJPAConfiguration conf,
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–2015 Apache Software Foundation. All rights reserved.