Package io.jmix.audit.impl
Class EntityLogImpl.EntityLogResourceHolderSynchronization
java.lang.Object
org.springframework.transaction.support.ResourceHolderSynchronization<EntityLogImpl.EntityLogResourceHolder,String>
io.jmix.audit.impl.EntityLogImpl.EntityLogResourceHolderSynchronization
- All Implemented Interfaces:
Flushable,org.springframework.core.Ordered,org.springframework.transaction.support.TransactionSynchronization
- Enclosing class:
- EntityLogImpl
public static class EntityLogImpl.EntityLogResourceHolderSynchronization
extends org.springframework.transaction.support.ResourceHolderSynchronization<EntityLogImpl.EntityLogResourceHolder,String>
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCEFields inherited from interface org.springframework.transaction.support.TransactionSynchronization
STATUS_COMMITTED, STATUS_ROLLED_BACK, STATUS_UNKNOWN -
Constructor Summary
ConstructorsConstructorDescriptionEntityLogResourceHolderSynchronization(EntityLogImpl.EntityLogResourceHolder resourceHolder, String resourceKey) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcleanupResource(EntityLogImpl.EntityLogResourceHolder resourceHolder, String resourceKey, boolean committed) Methods inherited from class org.springframework.transaction.support.ResourceHolderSynchronization
afterCommit, afterCompletion, beforeCommit, beforeCompletion, flush, flushResource, processResourceAfterCommit, releaseResource, resume, shouldReleaseAfterCompletion, shouldReleaseBeforeCompletion, shouldUnbindAtCompletion, suspendMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.transaction.support.TransactionSynchronization
getOrder
-
Constructor Details
-
EntityLogResourceHolderSynchronization
public EntityLogResourceHolderSynchronization(EntityLogImpl.EntityLogResourceHolder resourceHolder, String resourceKey)
-
-
Method Details
-
cleanupResource
protected void cleanupResource(EntityLogImpl.EntityLogResourceHolder resourceHolder, String resourceKey, boolean committed) - Overrides:
cleanupResourcein classorg.springframework.transaction.support.ResourceHolderSynchronization<EntityLogImpl.EntityLogResourceHolder,String>
-