Class EclipselinkPersistenceSupport.ContainerResourceHolder

java.lang.Object
org.springframework.transaction.support.ResourceHolderSupport
io.jmix.eclipselink.impl.EclipselinkPersistenceSupport.ContainerResourceHolder
All Implemented Interfaces:
org.springframework.transaction.support.ResourceHolder
Enclosing class:
EclipselinkPersistenceSupport

public static class EclipselinkPersistenceSupport.ContainerResourceHolder extends org.springframework.transaction.support.ResourceHolderSupport
  • Field Details

    • unitsOfWorkToStores

      protected Map<String,Map<org.eclipse.persistence.sessions.UnitOfWork,Set<Object>>> unitsOfWorkToStores
    • savedInstances

      protected Set<Object> savedInstances
    • newDetachedInstances

      protected Set<Object> newDetachedInstances
    • transactionManagerKey

      protected String transactionManagerKey
    • stores

      protected Set<String> stores
  • Constructor Details

    • ContainerResourceHolder

      public ContainerResourceHolder(String transactionManagerKey)
  • Method Details

    • getTransactionManagerKey

      public String getTransactionManagerKey()
    • getStores

      public Set<String> getStores()
    • addStore

      public void addStore(String storeName)
    • registerInstanceForUnitOfWork

      protected void registerInstanceForUnitOfWork(Object instance, org.eclipse.persistence.sessions.UnitOfWork unitOfWork, String store)
    • unregisterInstance

      protected void unregisterInstance(Object instance, org.eclipse.persistence.sessions.UnitOfWork unitOfWork, String store)
    • getInstances

      protected Collection<Object> getInstances(org.eclipse.persistence.sessions.UnitOfWork unitOfWork, String store)
    • getStoreInstances

      protected Collection<Object> getStoreInstances(String store)
    • getAllInstances

      protected Collection<Object> getAllInstances()
    • getSavedInstances

      protected Collection<Object> getSavedInstances()
    • getNewDetachedInstances

      public Set<Object> getNewDetachedInstances()
    • toString

      public String toString()
      Overrides:
      toString in class Object