public static class PersistenceImplSupport.ContainerResourceHolder
extends org.springframework.transaction.support.ResourceHolderSupport
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<Entity> |
newDetachedInstances |
protected java.util.Set<Entity> |
savedInstances |
protected java.lang.String |
storeName |
protected java.util.Map<org.eclipse.persistence.sessions.UnitOfWork,java.util.Set<Entity>> |
unitOfWorkMap |
Constructor and Description |
---|
ContainerResourceHolder(java.lang.String storeName) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<Entity> |
getAllInstances() |
protected java.util.Collection<Entity> |
getInstances(org.eclipse.persistence.sessions.UnitOfWork unitOfWork) |
java.util.Set<Entity> |
getNewDetachedInstances() |
protected java.util.Collection<Entity> |
getSavedInstances() |
java.lang.String |
getStoreName() |
protected void |
registerInstanceForUnitOfWork(Entity instance,
org.eclipse.persistence.sessions.UnitOfWork unitOfWork) |
java.lang.String |
toString() |
protected void |
unregisterInstance(Entity instance,
org.eclipse.persistence.sessions.UnitOfWork unitOfWork) |
clear, getDeadline, getTimeToLiveInMillis, getTimeToLiveInSeconds, hasTimeout, isOpen, isRollbackOnly, isSynchronizedWithTransaction, isVoid, released, requested, reset, resetRollbackOnly, setRollbackOnly, setSynchronizedWithTransaction, setTimeoutInMillis, setTimeoutInSeconds, unbound
protected java.util.Map<org.eclipse.persistence.sessions.UnitOfWork,java.util.Set<Entity>> unitOfWorkMap
protected java.util.Set<Entity> savedInstances
protected java.util.Set<Entity> newDetachedInstances
protected java.lang.String storeName
public ContainerResourceHolder(java.lang.String storeName)
public java.lang.String getStoreName()
protected void registerInstanceForUnitOfWork(Entity instance, org.eclipse.persistence.sessions.UnitOfWork unitOfWork)
protected void unregisterInstance(Entity instance, org.eclipse.persistence.sessions.UnitOfWork unitOfWork)
protected java.util.Collection<Entity> getInstances(org.eclipse.persistence.sessions.UnitOfWork unitOfWork)
protected java.util.Collection<Entity> getAllInstances()
protected java.util.Collection<Entity> getSavedInstances()
public java.util.Set<Entity> getNewDetachedInstances()
public java.lang.String toString()
toString
in class java.lang.Object