Package 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.
-
Interface Summary Interface Description AutoClear State clearing constants.AutoDetach Bit flags for when to automatically detach the entire persistence context.Broker The broker is the primary interface into the OpenJPA runtime.BrokerFactory Factory forBroker
instances.ConnectionRetainModes Connection retain mode constants.DetachState Constants for which fields to include in the detach graph.Extent<T> Representation of all members of a persistent class.FetchConfiguration Allows configuration and optimization of how objects are loaded from the data store.FillStrategy<T> A strategy to fill data into aResultShape
.FindCallbacks Allows facades to control the particulars of the find operation through callbacks.FinderCache<K,V,R> A cache to create and maintainfinder queries
.FinderQuery<K,V,R> A finder query is a query for an instance of a class by its primary key.LockLevels Standard object lock levels.LockManager Handles obtaining and releasing locks on objects.LockScopes Defines lock scope levels used for MixedLockManager.MixedLockLevels Defines lock levels used for MixedLockManager.ObjectFactory<T> An interface to create objects that are used by result processing.OpCallbacks Allows facades to control the particulars of persistence operations through callbacks.OpenJPAStateManager Interface implemented by OpenJPA state managers.PCData Holds data about a single persistence capable instance.PCResultObjectProvider Variant ofResultObjectProvider
that populates aOpenJPAStateManager
object in an application-defined manner.PreparedQuery A prepared query associates a compiled query to a parsed state that can be executed possibly with more efficiency.PreparedQueryCache A cache to create and maintainprepared queries
.PreparedQueryCache.Exclusion A structure to describe the strength and reason for excluding a query from the cache.Query OpenJPA query interface.QueryContext A query execution context.QueryFlushModes Constants for determining when to flush before queries.QueryHints Standard query hint keys.QueryOperations Query operation constants.QueryStatistics<T> Records query execution statistics.RestoreState State restore constants.SavepointManager A manager for handling savepoints.Seq Internal OpenJPA sequence interface.StoreContext Represents a set of managed objects and their environment.StoreManager Interface to be implemented by data store mechanisms to interact with this runtime.StoreQuery Component that executes queries against the datastore.StoreQuery.Executor An executor provides a uniform interface to the mechanism for executing either an in-memory or datastore query. -
Class Summary Class Description AbstractBrokerFactory Abstract implementation of theBrokerFactory
that must be subclassed for a specific runtime.AbstractLockManager AbstractLockManager
implementation.AbstractPCData Abstract base class which implements core PCData behavior.AbstractPCResultObjectProvider Abstract implementation ofPCResultObjectProvider
that implementsResultObjectProvider.getResultObject()
by assembling the necessary information about the object to be loaded.AbstractStoreQuery AbstractStoreQuery
that implements most methods as no-ops.AbstractStoreQuery.AbstractExecutor AbstractStoreQuery.Executor
that implements most methods as no-ops.AttachManager Handles attaching instances.Audited Carries immutable information about an audited persistent instance.AuditManager Controller for audit facility.Bootstrap Helper methods for acquiringBrokerFactory
objectsBrokerImpl ConcreteBroker
.BrokerImpl.StateManagerId Unique id for state managers of new datastore instances without assigned object ids.DelegatingBroker Delegating broker that can also perform exception translation for use in facades.DelegatingBrokerFactory Delegating broker factory that can also perform exception translation for use in facades.DelegatingExtent<T> Delegating extent that also can perform exception translation for use in facades.DelegatingFetchConfiguration Delegating fetch configuration that can also perform exception translation for use in facades.DelegatingQuery Delegating query that can also perform exception translation for use in facades.DelegatingResultList<T> Delegating result list that can also perform exception translation for use in facades.DelegatingSeq Delegating sequence that can also perform exception translation for use in facades.DelegatingStoreManager Base class for store manager decorators that delegate to another store manager for some operations.DetachedStateManager Internal state manager for detached instances.DetachedValueStateManager Implementation ofOpenJPAStateManager
designed to retrieve values from a detached instance, including when managed by aDetachedStateManager
.DetachManager Handles detaching instances.DetachManagerLite Handles detaching instances.DistinctResultList<E> An immutable list that imposes uniqueness on its member.ExpressionStoreQuery Implementation of an expression-based query, which can handle String-based query expressions such as JPQL and JDOQL.ExpressionStoreQuery.AbstractExpressionExecutor Provides support for queries that hold query information in aQueryExpressions
instance.ExpressionStoreQuery.DataStoreExecutor The DataStoreExecutor executes the query against the implementation's overriddenExpressionStoreQuery.DataStoreExecutor.executeQuery(org.apache.openjpa.kernel.StoreQuery, java.lang.Object[], org.apache.openjpa.kernel.StoreQuery.Range)
method.ExpressionStoreQuery.InMemoryExecutor Runs the expression query in memory.ExtentImpl<T> Representation of all members of a persistent class.FetchConfigurationImpl Allows configuration and optimization of how objects are loaded from the data store.FetchConfigurationImpl.ConfigurationState Configurable state shared throughout a traversal chain.FillStrategy.Array<T> Fills an array of given type.FillStrategy.Assign<T> Populate an instance by simply assigning the 0-th element of the input values.FillStrategy.Bean<T> Create and populate a bean by invoking setter methods identified by alias name with each array element value as argument.FillStrategy.Factory<T> Populate an instance created by given factory using a given put(key,value) method.FillStrategy.Map<T> Construct and populate an instance by invoking the put method with each alias as key and element of the given array of values.FillStrategy.NewInstance<T> Construct and populate an instance by the given constructor and arguments.Filters Helper methods for dealing with query filters.FinalizingBrokerImpl Subtype ofBrokerImpl
that automatically closes itself during finalization.InMemorySavepointManager ASavepointManager
implementation which stores all data in memory.InverseManager Class which manages inverse relations before flushing to the datastore.MethodStoreQuery A query that is executed by a user-defined method.NoneLockManager A lock manager that does not perform any locking.ObjectIdStateManager State manager used to access state of embedded object id primary key fields.OpenJPASavepoint Represents a savepoint where operations afterwards can be rolled back and restored to this pointOrderingMergedResultObjectProvider Merged result object provider specialization that extracts ordering values from results for comparison.PCDataImpl DefaultPCData
implementation.PCState Base class for all lifecycle states.PNonTransDeletedState Lifecycle state.QueryImpl Implementation of theQuery
interface.QueryImpl.Compilation Struct of compiled query properties.QueryImpl.PackingResultObjectProvider Result object provider that packs results before returning them.QueryLanguages Constants and utilities for query languages.QueryResultCallback A callabck is used when a query results in multiple non-identical result sets.QueryStatistics.Default<T> A default implementation.QueryStatistics.None<T> A do-nothing implementation.ResultPacker Helper class to pack results into the result class set on the query.ResultShape<T> Describes the shape of a query result.ResultShapePacker Packs result by delegation to a ResultShape.SaveFieldManager FieldManager type used to store information for rollback.StateManagerImpl Implementation of theOpenJPAStateManager
interface for use with this runtime.StoreQuery.Range A query result range.TimeSeededSeq A simplistic implementation of aSeq
used to provide datastore ids.UUIDHexSeq Sequence for generating 32-character hex UUID strings.UUIDStringSeq Sequence for generating 16-character UUID strings.UUIDType4HexSeq Sequence for generating 32-character hex Type 4 UUID strings.UUIDType4StringSeq Sequence for generating 16-character UUID strings.VersionLockManager LockManager
implementation that provides support for version checking and version updating when locks are acquired. -
Enum Summary Enum Description DataCacheRetrieveMode DataCache Retrieve Modes.DataCacheStoreMode DataCache Store modes