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 StoreContextAbstractStoreManager. ctxMethods in org.apache.openjpa.abstractstore that return StoreContext Modifier and Type Method Description StoreContextAbstractStoreManager. getContext()Returns theStoreContextthat this store manager is associated with.Methods in org.apache.openjpa.abstractstore with parameters of type StoreContext Modifier and Type Method Description voidAbstractStoreManager. 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 voidDataCacheStoreManager. setContext(StoreContext ctx)protected ObjectDataCachePCDataImpl. toData(FieldMetaData fmd, Object val, StoreContext ctx)protected ObjectDataCachePCDataImpl. toNestedData(ValueMetaData vmd, 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 DataSourceJDBCConfiguration. getDataSource(StoreContext ctx)Return the primary data source to use.DataSourceJDBCConfigurationImpl. getDataSource(StoreContext ctx)DataSourceJDBCConfiguration. getDataSource2(StoreContext ctx)Return the non-enlisted data source to use.DataSourceJDBCConfigurationImpl. 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 StoreContextJDBCStore. getContext()Current persistence context.StoreContextJDBCStoreManager. getContext()Methods in org.apache.openjpa.jdbc.kernel with parameters of type StoreContext Modifier and Type Method Description voidAbstractJDBCSeq. allocate(int additional, StoreContext ctx, ClassMetaData meta)ObjectAbstractJDBCSeq. current(StoreContext ctx, ClassMetaData meta)ObjectAbstractJDBCSeq. next(StoreContext ctx, ClassMetaData meta)voidJDBCFetchConfigurationImpl. setContext(StoreContext ctx)voidJDBCStoreManager. setContext(StoreContext ctx)voidJDBCStoreManager. setContext(StoreContext ctx, JDBCConfiguration conf)voidPessimisticLockManager. 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 ObjectPCPath. eval(Object candidate, Object orig, StoreContext ctx, Object[] params)ObjectGetColumn. evaluate(Object target, Class targetClass, Object[] args, Class[] argClasses, Object candidate, StoreContext ctx)ObjectSQLEmbed. evaluate(Object target, Class targetClass, Object[] args, Class[] argClasses, 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 OpenJPAStateManagerRelationStrategies. getStateManager(Object obj, StoreContext ctx)Return the state manager for the given instance, using a detached state manager if the instnace is not managed.protected booleanMapTableFieldStrategy. populateKey(Row row, OpenJPAStateManager valsm, 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 ResultSelectImpl. 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 interfaceBrokerThe broker is the primary interface into the OpenJPA runtime.Classes in org.apache.openjpa.kernel that implement StoreContext Modifier and Type Class Description classBrokerImplConcreteBroker.classDelegatingBrokerDelegating broker that can also perform exception translation for use in facades.classFinalizingBrokerImplSubtype ofBrokerImplthat automatically closes itself during finalization.Fields in org.apache.openjpa.kernel declared as StoreContext Modifier and Type Field Description protected StoreContextAbstractLockManager. ctxThe context against which this LockManager is operating.protected StoreContextAbstractPCResultObjectProvider. ctxTheStoreContextthat this result object provider will load objects into.StoreContextFetchConfigurationImpl.ConfigurationState. ctxMethods in org.apache.openjpa.kernel that return StoreContext Modifier and Type Method Description StoreContextAbstractLockManager. getContext()StoreContextAbstractPCResultObjectProvider. getContext()Return the context this provider was constructed with.StoreContextDelegatingFetchConfiguration. getContext()StoreContextDetachedStateManager. getContext()StoreContextDetachedValueStateManager. getContext()StoreContextFetchConfiguration. getContext()Return the context associated with this configuration; may be null if it has not been set or this object has been serialized.StoreContextFetchConfigurationImpl. getContext()StoreContextObjectIdStateManager. getContext()StoreContextOpenJPAStateManager. getContext()Return the managing context.StoreContextStateManagerImpl. getContext()StoreContextDelegatingQuery. getStoreContext()StoreContextQueryContext. getStoreContext()The persistence context for the query.StoreContextQueryImpl. getStoreContext()Methods in org.apache.openjpa.kernel with parameters of type StoreContext Modifier and Type Method Description voidDelegatingSeq. allocate(int additional, StoreContext ctx, ClassMetaData meta)voidSeq. allocate(int additional, StoreContext ctx, ClassMetaData cls)Allocate additional values efficiently.voidTimeSeededSeq. allocate(int additional, StoreContext ctx, ClassMetaData meta)voidUUIDHexSeq. allocate(int additional, StoreContext ctx, ClassMetaData meta)voidUUIDStringSeq. allocate(int additional, StoreContext ctx, ClassMetaData meta)voidUUIDType4HexSeq. allocate(int additional, StoreContext ctx, ClassMetaData meta)voidUUIDType4StringSeq. allocate(int additional, StoreContext ctx, ClassMetaData meta)protected voidInverseManager. createInverseRelations(StoreContext ctx, Object fromRef, Object toRef, FieldMetaData fmd, FieldMetaData[] inverses)Create the inverse relations for all the given inverse fields.ObjectDelegatingSeq. current(StoreContext ctx, ClassMetaData meta)ObjectSeq. current(StoreContext ctx, ClassMetaData cls)Return the current value of the sequence, or null if not available.ObjectTimeSeededSeq. current(StoreContext ctx, ClassMetaData meta)ObjectUUIDHexSeq. current(StoreContext ctx, ClassMetaData meta)ObjectUUIDStringSeq. current(StoreContext ctx, ClassMetaData meta)ObjectUUIDType4HexSeq. current(StoreContext ctx, ClassMetaData meta)ObjectUUIDType4StringSeq. current(StoreContext ctx, ClassMetaData meta)ObjectDelegatingSeq. next(StoreContext ctx, ClassMetaData meta)ObjectSeq. next(StoreContext ctx, ClassMetaData cls)Return the next value in the sequence.ObjectTimeSeededSeq. next(StoreContext ctx, ClassMetaData meta)ObjectUUIDHexSeq. next(StoreContext ctx, ClassMetaData meta)ObjectUUIDStringSeq. next(StoreContext ctx, ClassMetaData meta)ObjectUUIDType4HexSeq. next(StoreContext ctx, ClassMetaData meta)ObjectUUIDType4StringSeq. next(StoreContext ctx, ClassMetaData meta)voidAbstractLockManager. setContext(StoreContext ctx)voidDelegatingFetchConfiguration. setContext(StoreContext ctx)voidDelegatingStoreManager. setContext(StoreContext ctx)voidFetchConfiguration. setContext(StoreContext ctx)Called automatically by the system to associate the fetch configuration with a context before use.voidFetchConfigurationImpl. setContext(StoreContext ctx)voidLockManager. setContext(StoreContext ctx)Set the context this lock manager is associated with.voidStoreManager. setContext(StoreContext ctx)Set a reference to the corresponding context.protected ObjectAbstractPCData. toData(FieldMetaData fmd, Object val, StoreContext ctx)Transform the given field value to a data value for caching.protected ObjectAbstractPCData. toEmbeddedData(Object val, StoreContext ctx)Return the value to cache for the given embedded PC.protected ObjectAbstractPCData. toNestedData(ValueMetaData vmd, Object val, StoreContext ctx)Transform the given nested value to a cachable value.protected ObjectAbstractPCData. toRelationData(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(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 ObjectCandidatePath. eval(Object candidate, Object orig, StoreContext ctx, Object[] params)protected ObjectCoalesce. eval(Object candidate, Object orig, StoreContext ctx, Object[] params)protected ObjectCoalesce. eval(Object candidate, StoreContext ctx, Object[] params)protected booleanExp. eval(Object candidate, Object orig, StoreContext ctx, Object[] params)Evaluate the expression for the given context candidate and original candidate.protected booleanExp. eval(Collection candidates, StoreContext ctx, Object[] params)Evaluate the expression for the given group.protected ObjectNullIf. eval(Object candidate, Object orig, StoreContext ctx, Object[] params)protected ObjectNullIf. eval(Object candidate, StoreContext ctx, Object[] params)protected ObjectSimpleCase. eval(Object candidate, Object orig, StoreContext ctx, Object[] params)protected ObjectSimpleCase. eval(Object candidate, StoreContext ctx, Object[] params)protected abstract ObjectVal. eval(Object candidate, Object orig, StoreContext ctx, Object[] params)Return this value for the given candidate.protected CollectionVal. eval(Collection candidates, Object orig, StoreContext ctx, Object[] params)Return a list of values resulting from evaluating each given candidate.ObjectAggregateListener. evaluate(Collection args, Class[] argClasses, Collection candidates, StoreContext ctx)Return the value of this aggregate.booleanExp. evaluate(Object candidate, Object orig, StoreContext ctx, Object[] params)Evaluate the expression for the given candidate.booleanExp. evaluate(Collection candidates, StoreContext ctx, Object[] params)Evaluate the expression for the given candidate group.ObjectFilterListener. evaluate(Object target, Class targetClass, Object[] args, Class[] argClasses, Object candidate, StoreContext ctx)Evaluate the given expression.ObjectStringContains. evaluate(Object target, Class targetClass, Object[] args, Class[] argClasses, Object candidate, StoreContext ctx)Deprecated.ObjectVal. evaluate(Object candidate, Object orig, StoreContext ctx, Object[] params)Return this value as a projection on the given candidate.ObjectVal. evaluate(Collection candidates, Object orig, StoreContext ctx, Object[] params)Return this value as an aggregate projection on the given group of candidates.ObjectWildcardMatch. evaluate(Object target, Class targetClass, Object[] args, Class[] argClasses, Object candidate, StoreContext ctx)Deprecated.ListInMemoryExpressionFactory. group(QueryExpressions exps, List matches, StoreContext ctx, Object[] params)Group the list of matches into a list of lists.protected booleanInMemoryExpressionFactory. matches(Exp exp, Object candidate, StoreContext ctx, Object[] params, int i)Recursive method to evaluate the expression for all possible combinations of unbound variables.booleanInMemoryExpressionFactory. matches(QueryExpressions exps, Collection group, StoreContext ctx, Object[] params)Return true if the given group matches the having expression.booleanInMemoryExpressionFactory. matches(QueryExpressions exps, ClassMetaData type, boolean subs, Object candidate, StoreContext ctx, Object[] params)Tests whether the given candidate matches the given type and this expression.ListInMemoryExpressionFactory. order(QueryExpressions exps, List matches, StoreContext ctx, Object[] params)Order the given list of matches on the given value.ListInMemoryExpressionFactory. project(QueryExpressions exps, List matches, StoreContext ctx, 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 ObjectFieldMetaData. getExternalValue(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.ObjectFieldMetaData. getFieldValue(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, 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 interfaceDistributedBrokerExtension to Broker to allow access tovirtual data store.Classes in org.apache.openjpa.slice that implement StoreContext Modifier and Type Class Description classDistributedBrokerImplA 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 ObjectSerialization. deserialize(byte[] bytes, StoreContext ctx)Deserialize an object value from the given bytes.static ObjectSerialization. deserialize(InputStream in, StoreContext ctx)Deserialize an object value from the given stream.static ObjectImplHelper. generateFieldValue(StoreContext ctx, FieldMetaData fmd)Generate a value for the given metadata, or return null.static ObjectImplHelper. generateIdentityValue(StoreContext ctx, ClassMetaData meta, int typeCode)Generate a value for the given metadata, or return null.static byte[]Serialization. serialize(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(InputStream delegate, StoreContext ctx)Constructor; supply source stream and broker to use for persistent object lookups.PersistentObjectOutputStream(OutputStream delegate, StoreContext ctx)Constructor; supply underlying stream.
-