Uses of Interface
org.apache.openjpa.kernel.StoreContext
-
Packages that use StoreContext Package Description org.apache.openjpa.abstractstore OpenJPA Abstract StoreManager Implementationorg.apache.openjpa.datacache OpenJPA Data Cacheorg.apache.openjpa.jdbc.conf OpenJPA-JDBC Configurationorg.apache.openjpa.jdbc.kernel OpenJPA-JDBC Runtime Kernelorg.apache.openjpa.jdbc.kernel.exps OpenJPA-JDBC Expression Treeorg.apache.openjpa.jdbc.meta.strats OpenJPA-JDBC ORM Strategiesorg.apache.openjpa.jdbc.sql OpenJPA-JDBC SQL Abstractionorg.apache.openjpa.kernel OpenJPA Runtime Kernelorg.apache.openjpa.kernel.exps OpenJPA Expression Treeorg.apache.openjpa.meta OpenJPA Metadataorg.apache.openjpa.persistence OpenJPA JPAorg.apache.openjpa.slice Extended OpenJPA Interfaces for distributed databases.org.apache.openjpa.util OpenJPA Utilities -
-
Uses of StoreContext in org.apache.openjpa.abstractstore
Fields in org.apache.openjpa.abstractstore declared as StoreContext Modifier and Type Field Description protected StoreContext
AbstractStoreManager. ctx
Methods in org.apache.openjpa.abstractstore that return StoreContext Modifier and Type Method Description StoreContext
AbstractStoreManager. getContext()
Returns theStoreContext
that this store manager is associated with.Methods in org.apache.openjpa.abstractstore with parameters of type StoreContext Modifier and Type Method Description void
AbstractStoreManager. setContext(StoreContext ctx)
-
Uses of StoreContext in org.apache.openjpa.datacache
Methods in org.apache.openjpa.datacache with parameters of type StoreContext Modifier and Type Method Description void
DataCacheStoreManager. setContext(StoreContext ctx)
protected java.lang.Object
DataCachePCDataImpl. toData(FieldMetaData fmd, java.lang.Object val, StoreContext ctx)
protected java.lang.Object
DataCachePCDataImpl. toNestedData(ValueMetaData vmd, java.lang.Object val, StoreContext ctx)
Constructors in org.apache.openjpa.datacache with parameters of type StoreContext Constructor Description CachedList(QueryResult res, boolean proj, StoreContext ctx, FetchConfiguration fc)
-
Uses of StoreContext in org.apache.openjpa.jdbc.conf
Methods in org.apache.openjpa.jdbc.conf with parameters of type StoreContext Modifier and Type Method Description javax.sql.DataSource
JDBCConfiguration. getDataSource(StoreContext ctx)
Return the primary data source to use.javax.sql.DataSource
JDBCConfigurationImpl. getDataSource(StoreContext ctx)
javax.sql.DataSource
JDBCConfiguration. getDataSource2(StoreContext ctx)
Return the non-enlisted data source to use.javax.sql.DataSource
JDBCConfigurationImpl. getDataSource2(StoreContext ctx)
-
Uses of StoreContext in org.apache.openjpa.jdbc.kernel
Methods in org.apache.openjpa.jdbc.kernel that return StoreContext Modifier and Type Method Description StoreContext
JDBCStore. getContext()
Current persistence context.StoreContext
JDBCStoreManager. getContext()
Methods in org.apache.openjpa.jdbc.kernel with parameters of type StoreContext Modifier and Type Method Description void
AbstractJDBCSeq. allocate(int additional, StoreContext ctx, ClassMetaData meta)
java.lang.Object
AbstractJDBCSeq. current(StoreContext ctx, ClassMetaData meta)
java.lang.Object
AbstractJDBCSeq. next(StoreContext ctx, ClassMetaData meta)
void
JDBCFetchConfigurationImpl. setContext(StoreContext ctx)
void
JDBCStoreManager. setContext(StoreContext ctx)
void
JDBCStoreManager. setContext(StoreContext ctx, JDBCConfiguration conf)
void
PessimisticLockManager. setContext(StoreContext ctx)
-
Uses of StoreContext in org.apache.openjpa.jdbc.kernel.exps
Methods in org.apache.openjpa.jdbc.kernel.exps with parameters of type StoreContext Modifier and Type Method Description protected java.lang.Object
PCPath. eval(java.lang.Object candidate, java.lang.Object orig, StoreContext ctx, java.lang.Object[] params)
java.lang.Object
GetColumn. evaluate(java.lang.Object target, java.lang.Class targetClass, java.lang.Object[] args, java.lang.Class[] argClasses, java.lang.Object candidate, StoreContext ctx)
java.lang.Object
SQLEmbed. evaluate(java.lang.Object target, java.lang.Class targetClass, java.lang.Object[] args, java.lang.Class[] argClasses, java.lang.Object candidate, StoreContext ctx)
-
Uses of StoreContext in org.apache.openjpa.jdbc.meta.strats
Methods in org.apache.openjpa.jdbc.meta.strats with parameters of type StoreContext Modifier and Type Method Description static OpenJPAStateManager
RelationStrategies. getStateManager(java.lang.Object obj, StoreContext ctx)
Return the state manager for the given instance, using a detached state manager if the instnace is not managed.protected boolean
MapTableFieldStrategy. populateKey(Row row, OpenJPAStateManager valsm, java.lang.Object obj, StoreContext ctx, RowManager rm, JDBCStore store)
-
Uses of StoreContext in org.apache.openjpa.jdbc.sql
Methods in org.apache.openjpa.jdbc.sql with parameters of type StoreContext Modifier and Type Method Description protected Result
SelectImpl. execute(StoreContext ctx, JDBCStore store, JDBCFetchConfiguration fetch, int lockLevel)
Execute this select in the context of the given store manager. -
Uses of StoreContext in org.apache.openjpa.kernel
Subinterfaces of StoreContext in org.apache.openjpa.kernel Modifier and Type Interface Description interface
Broker
The broker is the primary interface into the OpenJPA runtime.Classes in org.apache.openjpa.kernel that implement StoreContext Modifier and Type Class Description class
BrokerImpl
ConcreteBroker
.class
DelegatingBroker
Delegating broker that can also perform exception translation for use in facades.class
FinalizingBrokerImpl
Subtype ofBrokerImpl
that automatically closes itself during finalization.Fields in org.apache.openjpa.kernel declared as StoreContext Modifier and Type Field Description protected StoreContext
AbstractLockManager. ctx
The context against which this LockManager is operating.protected StoreContext
AbstractPCResultObjectProvider. ctx
TheStoreContext
that this result object provider will load objects into.StoreContext
FetchConfigurationImpl.ConfigurationState. ctx
Methods in org.apache.openjpa.kernel that return StoreContext Modifier and Type Method Description StoreContext
AbstractLockManager. getContext()
StoreContext
AbstractPCResultObjectProvider. getContext()
Return the context this provider was constructed with.StoreContext
DelegatingFetchConfiguration. getContext()
StoreContext
DetachedStateManager. getContext()
StoreContext
DetachedValueStateManager. getContext()
StoreContext
FetchConfiguration. getContext()
Return the context associated with this configuration; may be null if it has not been set or this object has been serialized.StoreContext
FetchConfigurationImpl. getContext()
StoreContext
ObjectIdStateManager. getContext()
StoreContext
OpenJPAStateManager. getContext()
Return the managing context.StoreContext
StateManagerImpl. getContext()
StoreContext
DelegatingQuery. getStoreContext()
StoreContext
QueryContext. getStoreContext()
The persistence context for the query.StoreContext
QueryImpl. getStoreContext()
Methods in org.apache.openjpa.kernel with parameters of type StoreContext Modifier and Type Method Description void
DelegatingSeq. allocate(int additional, StoreContext ctx, ClassMetaData meta)
void
Seq. allocate(int additional, StoreContext ctx, ClassMetaData cls)
Allocate additional values efficiently.void
TimeSeededSeq. allocate(int additional, StoreContext ctx, ClassMetaData meta)
void
UUIDHexSeq. allocate(int additional, StoreContext ctx, ClassMetaData meta)
void
UUIDStringSeq. allocate(int additional, StoreContext ctx, ClassMetaData meta)
void
UUIDType4HexSeq. allocate(int additional, StoreContext ctx, ClassMetaData meta)
void
UUIDType4StringSeq. allocate(int additional, StoreContext ctx, ClassMetaData meta)
protected void
InverseManager. createInverseRelations(StoreContext ctx, java.lang.Object fromRef, java.lang.Object toRef, FieldMetaData fmd, FieldMetaData[] inverses)
Create the inverse relations for all the given inverse fields.java.lang.Object
DelegatingSeq. current(StoreContext ctx, ClassMetaData meta)
java.lang.Object
Seq. current(StoreContext ctx, ClassMetaData cls)
Return the current value of the sequence, or null if not available.java.lang.Object
TimeSeededSeq. current(StoreContext ctx, ClassMetaData meta)
java.lang.Object
UUIDHexSeq. current(StoreContext ctx, ClassMetaData meta)
java.lang.Object
UUIDStringSeq. current(StoreContext ctx, ClassMetaData meta)
java.lang.Object
UUIDType4HexSeq. current(StoreContext ctx, ClassMetaData meta)
java.lang.Object
UUIDType4StringSeq. current(StoreContext ctx, ClassMetaData meta)
java.lang.Object
DelegatingSeq. next(StoreContext ctx, ClassMetaData meta)
java.lang.Object
Seq. next(StoreContext ctx, ClassMetaData cls)
Return the next value in the sequence.java.lang.Object
TimeSeededSeq. next(StoreContext ctx, ClassMetaData meta)
java.lang.Object
UUIDHexSeq. next(StoreContext ctx, ClassMetaData meta)
java.lang.Object
UUIDStringSeq. next(StoreContext ctx, ClassMetaData meta)
java.lang.Object
UUIDType4HexSeq. next(StoreContext ctx, ClassMetaData meta)
java.lang.Object
UUIDType4StringSeq. next(StoreContext ctx, ClassMetaData meta)
void
AbstractLockManager. setContext(StoreContext ctx)
void
DelegatingFetchConfiguration. setContext(StoreContext ctx)
void
DelegatingStoreManager. setContext(StoreContext ctx)
void
FetchConfiguration. setContext(StoreContext ctx)
Called automatically by the system to associate the fetch configuration with a context before use.void
FetchConfigurationImpl. setContext(StoreContext ctx)
void
LockManager. setContext(StoreContext ctx)
Set the context this lock manager is associated with.void
StoreManager. setContext(StoreContext ctx)
Set a reference to the corresponding context.protected java.lang.Object
AbstractPCData. toData(FieldMetaData fmd, java.lang.Object val, StoreContext ctx)
Transform the given field value to a data value for caching.protected java.lang.Object
AbstractPCData. toEmbeddedData(java.lang.Object val, StoreContext ctx)
Return the value to cache for the given embedded PC.protected java.lang.Object
AbstractPCData. toNestedData(ValueMetaData vmd, java.lang.Object val, StoreContext ctx)
Transform the given nested value to a cachable value.protected java.lang.Object
AbstractPCData. toRelationData(java.lang.Object val, StoreContext ctx)
Return the value to cache for the given object.Constructors in org.apache.openjpa.kernel with parameters of type StoreContext Constructor Description AbstractPCResultObjectProvider(StoreContext ctx)
Create a new provider for loading PC objects from the input intoctx
.DetachedValueStateManager(java.lang.Object pc, StoreContext ctx)
DetachedValueStateManager(PersistenceCapable pc, ClassMetaData meta, StoreContext ctx)
-
Uses of StoreContext in org.apache.openjpa.kernel.exps
Methods in org.apache.openjpa.kernel.exps with parameters of type StoreContext Modifier and Type Method Description protected java.lang.Object
CandidatePath. eval(java.lang.Object candidate, java.lang.Object orig, StoreContext ctx, java.lang.Object[] params)
protected java.lang.Object
Coalesce. eval(java.lang.Object candidate, java.lang.Object orig, StoreContext ctx, java.lang.Object[] params)
protected java.lang.Object
Coalesce. eval(java.lang.Object candidate, StoreContext ctx, java.lang.Object[] params)
protected boolean
Exp. eval(java.lang.Object candidate, java.lang.Object orig, StoreContext ctx, java.lang.Object[] params)
Evaluate the expression for the given context candidate and original candidate.protected boolean
Exp. eval(java.util.Collection candidates, StoreContext ctx, java.lang.Object[] params)
Evaluate the expression for the given group.protected java.lang.Object
NullIf. eval(java.lang.Object candidate, java.lang.Object orig, StoreContext ctx, java.lang.Object[] params)
protected java.lang.Object
NullIf. eval(java.lang.Object candidate, StoreContext ctx, java.lang.Object[] params)
protected java.lang.Object
SimpleCase. eval(java.lang.Object candidate, java.lang.Object orig, StoreContext ctx, java.lang.Object[] params)
protected java.lang.Object
SimpleCase. eval(java.lang.Object candidate, StoreContext ctx, java.lang.Object[] params)
protected abstract java.lang.Object
Val. eval(java.lang.Object candidate, java.lang.Object orig, StoreContext ctx, java.lang.Object[] params)
Return this value for the given candidate.protected java.util.Collection
Val. eval(java.util.Collection candidates, java.lang.Object orig, StoreContext ctx, java.lang.Object[] params)
Return a list of values resulting from evaluating each given candidate.java.lang.Object
AggregateListener. evaluate(java.util.Collection args, java.lang.Class[] argClasses, java.util.Collection candidates, StoreContext ctx)
Return the value of this aggregate.boolean
Exp. evaluate(java.lang.Object candidate, java.lang.Object orig, StoreContext ctx, java.lang.Object[] params)
Evaluate the expression for the given candidate.boolean
Exp. evaluate(java.util.Collection candidates, StoreContext ctx, java.lang.Object[] params)
Evaluate the expression for the given candidate group.java.lang.Object
FilterListener. evaluate(java.lang.Object target, java.lang.Class targetClass, java.lang.Object[] args, java.lang.Class[] argClasses, java.lang.Object candidate, StoreContext ctx)
Evaluate the given expression.java.lang.Object
StringContains. evaluate(java.lang.Object target, java.lang.Class targetClass, java.lang.Object[] args, java.lang.Class[] argClasses, java.lang.Object candidate, StoreContext ctx)
Deprecated.java.lang.Object
Val. evaluate(java.lang.Object candidate, java.lang.Object orig, StoreContext ctx, java.lang.Object[] params)
Return this value as a projection on the given candidate.java.lang.Object
Val. evaluate(java.util.Collection candidates, java.lang.Object orig, StoreContext ctx, java.lang.Object[] params)
Return this value as an aggregate projection on the given group of candidates.java.lang.Object
WildcardMatch. evaluate(java.lang.Object target, java.lang.Class targetClass, java.lang.Object[] args, java.lang.Class[] argClasses, java.lang.Object candidate, StoreContext ctx)
Deprecated.java.util.List
InMemoryExpressionFactory. group(QueryExpressions exps, java.util.List matches, StoreContext ctx, java.lang.Object[] params)
Group the list of matches into a list of lists.protected boolean
InMemoryExpressionFactory. matches(Exp exp, java.lang.Object candidate, StoreContext ctx, java.lang.Object[] params, int i)
Recursive method to evaluate the expression for all possible combinations of unbound variables.boolean
InMemoryExpressionFactory. matches(QueryExpressions exps, java.util.Collection group, StoreContext ctx, java.lang.Object[] params)
Return true if the given group matches the having expression.boolean
InMemoryExpressionFactory. matches(QueryExpressions exps, ClassMetaData type, boolean subs, java.lang.Object candidate, StoreContext ctx, java.lang.Object[] params)
Tests whether the given candidate matches the given type and this expression.java.util.List
InMemoryExpressionFactory. order(QueryExpressions exps, java.util.List matches, StoreContext ctx, java.lang.Object[] params)
Order the given list of matches on the given value.java.util.List
InMemoryExpressionFactory. project(QueryExpressions exps, java.util.List matches, StoreContext ctx, java.lang.Object[] params)
Create the projections for the given results. -
Uses of StoreContext in org.apache.openjpa.meta
Methods in org.apache.openjpa.meta with parameters of type StoreContext Modifier and Type Method Description java.lang.Object
FieldMetaData. getExternalValue(java.lang.Object val, StoreContext ctx)
Convert the given field value to its external value through the provided externalizer, or return the value as-is if no externalizer.java.lang.Object
FieldMetaData. getFieldValue(java.lang.Object val, StoreContext ctx)
Return the result of passing the given external value through the factory to get the field value. -
Uses of StoreContext in org.apache.openjpa.persistence
Constructors in org.apache.openjpa.persistence with parameters of type StoreContext Constructor Description GeneratorImpl(Seq seq, java.lang.String name, StoreContext ctx, ClassMetaData meta)
Constructor; supply delegate. -
Uses of StoreContext in org.apache.openjpa.slice
Subinterfaces of StoreContext in org.apache.openjpa.slice Modifier and Type Interface Description interface
DistributedBroker
Extension to Broker to allow access tovirtual data store
.Classes in org.apache.openjpa.slice that implement StoreContext Modifier and Type Class Description class
DistributedBrokerImpl
A specialized Broker to associate slice identifiers with the StateManagers as they are persisted in a cascade. -
Uses of StoreContext in org.apache.openjpa.util
Methods in org.apache.openjpa.util with parameters of type StoreContext Modifier and Type Method Description static java.lang.Object
Serialization. deserialize(byte[] bytes, StoreContext ctx)
Deserialize an object value from the given bytes.static java.lang.Object
Serialization. deserialize(java.io.InputStream in, StoreContext ctx)
Deserialize an object value from the given stream.static java.lang.Object
ImplHelper. generateFieldValue(StoreContext ctx, FieldMetaData fmd)
Generate a value for the given metadata, or return null.static java.lang.Object
ImplHelper. generateIdentityValue(StoreContext ctx, ClassMetaData meta, int typeCode)
Generate a value for the given metadata, or return null.static byte[]
Serialization. serialize(java.lang.Object val, StoreContext ctx)
Serialize a value that might contain persistent objects.Constructors in org.apache.openjpa.util with parameters of type StoreContext Constructor Description PersistentObjectInputStream(java.io.InputStream delegate, StoreContext ctx)
Constructor; supply source stream and broker to use for persistent object lookups.PersistentObjectOutputStream(java.io.OutputStream delegate, StoreContext ctx)
Constructor; supply underlying stream.
-