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_PRECEDENCE
Fields inherited from interface org.springframework.transaction.support.TransactionSynchronization
STATUS_COMMITTED, STATUS_ROLLED_BACK, STATUS_UNKNOWN
-
Constructor Summary
ConstructorDescriptionEntityLogResourceHolderSynchronization
(EntityLogImpl.EntityLogResourceHolder resourceHolder, String resourceKey) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
cleanupResource
(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, suspend
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
cleanupResource
in classorg.springframework.transaction.support.ResourceHolderSynchronization<EntityLogImpl.EntityLogResourceHolder,
String>
-