Interface PersistenceContext

  • All Known Subinterfaces:
    JcrPersistenceContext

    public interface PersistenceContext
    Container interface to encapsulate and pass context information through the EntityManager, EntityFactory and PersistenceManager chain. It also holds the local cache used by PersistenceManager to avoid loops, when resolving references.
    Author:
    bramk
    • Method Detail

      • getLocalCache

        Map<WmId,​Object> getLocalCache()
        Get local cache for the entities instantiated in this chain of invocation.
        Returns:
        hash map holding instantiated entities