Uses of Interface
org.apache.openjpa.kernel.StoreContext

Packages that use StoreContext
org.apache.openjpa.abstractstore OpenJPA Abstract StoreManager Implementation 
org.apache.openjpa.datacache OpenJPA Data Cache 
org.apache.openjpa.kernel OpenJPA Runtime Kernel 
org.apache.openjpa.kernel.exps OpenJPA Expression Tree 
org.apache.openjpa.meta OpenJPA Metadata 
org.apache.openjpa.util OpenJPA Utilities 
 

Uses of StoreContext in org.apache.openjpa.abstractstore
 

Fields in org.apache.openjpa.abstractstore declared as StoreContext
protected  StoreContext AbstractStoreManager.ctx
           
 

Methods in org.apache.openjpa.abstractstore that return StoreContext
 StoreContext AbstractStoreManager.getContext()
          Returns the StoreContext that this store manager is associated with.
 

Methods in org.apache.openjpa.abstractstore with parameters of type StoreContext
 void AbstractStoreManager.setContext(StoreContext ctx)
           
 

Uses of StoreContext in org.apache.openjpa.datacache
 

Methods in org.apache.openjpa.datacache with parameters of type StoreContext
 void DataCacheStoreManager.setContext(StoreContext ctx)
           
protected  Object DataCachePCDataImpl.toData(FieldMetaData fmd, Object val, StoreContext ctx)
           
protected  Object DataCachePCDataImpl.toNestedData(ValueMetaData vmd, Object val, StoreContext ctx)
           
 

Constructors in org.apache.openjpa.datacache with parameters of type StoreContext
QueryCacheStoreQuery.CachedList(QueryResult res, boolean proj, StoreContext ctx)
           
 

Uses of StoreContext in org.apache.openjpa.kernel
 

Subinterfaces of StoreContext in org.apache.openjpa.kernel
 interface Broker
          The broker is the primary interface into the OpenJPA runtime.
 

Classes in org.apache.openjpa.kernel that implement StoreContext
 class BrokerImpl
          Concrete Broker.
 class DelegatingBroker
          Delegating broker that can also perform exception translation for use in facades.
 class FinalizingBrokerImpl
          Subtype of BrokerImpl that automatically closes itself during finalization.
 

Fields in org.apache.openjpa.kernel declared as StoreContext
 StoreContext FetchConfigurationImpl.ConfigurationState.ctx
           
protected  StoreContext AbstractLockManager.ctx
          The context against which this LockManager is operating.
protected  StoreContext AbstractPCResultObjectProvider.ctx
          The StoreContext that this result object provider will load objects into.
 

Methods in org.apache.openjpa.kernel that return StoreContext
 StoreContext FetchConfiguration.getContext()
          Return the context assiciated with this configuration; may be null if it has not been set or this object has been serialized.
 StoreContext OpenJPAStateManager.getContext()
          Return the managing context.
 StoreContext StateManagerImpl.getContext()
           
 StoreContext DetachedStateManager.getContext()
           
 StoreContext ObjectIdStateManager.getContext()
           
 StoreContext FetchConfigurationImpl.getContext()
           
 StoreContext DetachedValueStateManager.getContext()
           
 StoreContext AbstractLockManager.getContext()
           
 StoreContext AbstractPCResultObjectProvider.getContext()
          Return the context this provider was constructed with.
 StoreContext DelegatingFetchConfiguration.getContext()
           
 StoreContext QueryContext.getStoreContext()
          The persistence context for the query.
 StoreContext QueryImpl.getStoreContext()
           
 StoreContext DelegatingQuery.getStoreContext()
           
 

Methods in org.apache.openjpa.kernel with parameters of type StoreContext
 void Seq.allocate(int additional, StoreContext ctx, ClassMetaData cls)
          Allocate additional values efficiently.
 void UUIDHexSeq.allocate(int additional, StoreContext ctx, ClassMetaData meta)
           
 void DelegatingSeq.allocate(int additional, StoreContext ctx, ClassMetaData meta)
           
 void UUIDType4HexSeq.allocate(int additional, StoreContext ctx, ClassMetaData meta)
           
 void TimeSeededSeq.allocate(int additional, StoreContext ctx, ClassMetaData meta)
           
 void UUIDStringSeq.allocate(int additional, StoreContext ctx, ClassMetaData meta)
           
 void UUIDType4StringSeq.allocate(int additional, StoreContext ctx, ClassMetaData meta)
           
protected  void InverseManager.createInverseRelations(StoreContext ctx, Object fromRef, Object toRef, FieldMetaData fmd, FieldMetaData[] inverses)
          Create the inverse relations for all the given inverse fields.
 Object Seq.current(StoreContext ctx, ClassMetaData cls)
          Return the current value of the sequence, or null if not available.
 Object UUIDHexSeq.current(StoreContext ctx, ClassMetaData meta)
           
 Object DelegatingSeq.current(StoreContext ctx, ClassMetaData meta)
           
 Object UUIDType4HexSeq.current(StoreContext ctx, ClassMetaData meta)
           
 Object TimeSeededSeq.current(StoreContext ctx, ClassMetaData meta)
           
 Object UUIDStringSeq.current(StoreContext ctx, ClassMetaData meta)
           
 Object UUIDType4StringSeq.current(StoreContext ctx, ClassMetaData meta)
           
 Object Seq.next(StoreContext ctx, ClassMetaData cls)
          Return the next value in the sequence.
 Object UUIDHexSeq.next(StoreContext ctx, ClassMetaData meta)
           
 Object DelegatingSeq.next(StoreContext ctx, ClassMetaData meta)
           
 Object UUIDType4HexSeq.next(StoreContext ctx, ClassMetaData meta)
           
 Object TimeSeededSeq.next(StoreContext ctx, ClassMetaData meta)
           
 Object UUIDStringSeq.next(StoreContext ctx, ClassMetaData meta)
           
 Object UUIDType4StringSeq.next(StoreContext ctx, ClassMetaData meta)
           
 void FetchConfiguration.setContext(StoreContext ctx)
          Called automatically by the system to associate the fetch configuration with a context before use.
 void LockManager.setContext(StoreContext ctx)
          Set the context this lock manager is associated with.
 void DelegatingStoreManager.setContext(StoreContext ctx)
           
 void StoreManager.setContext(StoreContext ctx)
          Set a reference to the corresponding context.
 void FetchConfigurationImpl.setContext(StoreContext ctx)
           
 void AbstractLockManager.setContext(StoreContext ctx)
           
 void DelegatingFetchConfiguration.setContext(StoreContext ctx)
           
protected  Object AbstractPCData.toData(FieldMetaData fmd, Object val, StoreContext ctx)
          Transform the given field value to a data value for caching.
protected  Object AbstractPCData.toEmbeddedData(Object val, StoreContext ctx)
          Return the value to cache for the given embedded PC.
protected  Object AbstractPCData.toNestedData(ValueMetaData vmd, Object val, StoreContext ctx)
          Transform the given nested value to a cachable value.
protected  Object AbstractPCData.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
AbstractPCResultObjectProvider(StoreContext ctx)
          Create a new provider for loading PC objects from the input into ctx.
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
protected  Collection Val.eval(Collection candidates, Object orig, StoreContext ctx, Object[] params)
          Return a list of values resulting from evaluating each given candidate.
protected abstract  Object Val.eval(Object candidate, Object orig, StoreContext ctx, Object[] params)
          Return this value for the given candidate.
 Object AggregateListener.evaluate(Collection args, Class[] argClasses, Collection candidates, StoreContext ctx)
          Return the value of this aggregate.
 Object Val.evaluate(Collection candidates, Object orig, StoreContext ctx, Object[] params)
          Return this value as an aggregate projection on the given group of candidates.
 Object FilterListener.evaluate(Object target, Class targetClass, Object[] args, Class[] argClasses, Object candidate, StoreContext ctx)
          Evaluate the given expression.
 Object WildcardMatch.evaluate(Object target, Class targetClass, Object[] args, Class[] argClasses, Object candidate, StoreContext ctx)
          Deprecated.  
 Object StringContains.evaluate(Object target, Class targetClass, Object[] args, Class[] argClasses, Object candidate, StoreContext ctx)
          Deprecated.  
 Object Val.evaluate(Object candidate, Object orig, StoreContext ctx, Object[] params)
          Return this value as a projection on the given candidate.
 List InMemoryExpressionFactory.group(QueryExpressions exps, List matches, StoreContext ctx, Object[] params)
          Group the list of matches into a list of lists.
 boolean InMemoryExpressionFactory.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.
 boolean InMemoryExpressionFactory.matches(QueryExpressions exps, Collection group, StoreContext ctx, Object[] params)
          Return true if the given group matches the having expression.
 List InMemoryExpressionFactory.order(QueryExpressions exps, List matches, StoreContext ctx, Object[] params)
          Order the given list of matches on the given value.
 List InMemoryExpressionFactory.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
 Object FieldMetaData.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.
 Object FieldMetaData.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.util
 

Methods in org.apache.openjpa.util with parameters of type StoreContext
static Object Serialization.deserialize(byte[] bytes, StoreContext ctx)
          Deserialize an object value from the given bytes.
static Object Serialization.deserialize(InputStream in, StoreContext ctx)
          Deserialize an object value from the given stream.
static Object ImplHelper.generateFieldValue(StoreContext ctx, FieldMetaData fmd)
          Generate a value for the given metadata, or return null.
static Object ImplHelper.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
Serialization.PersistentObjectInputStream(InputStream delegate, StoreContext ctx)
          Constructor; supply source stream and broker to use for persistent object lookups.
Serialization.PersistentObjectOutputStream(OutputStream delegate, StoreContext ctx)
          Constructor; supply underlying stream.
 



Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.