Java org.springframework.transaction.support TransactionSynchronizationUtils fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.transaction.support TransactionSynchronizationUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.transaction.support TransactionSynchronizationUtils.

The text is from its open source code.

Method

voidinvokeAfterCompletion(@Nullable List synchronizations, int completionStatus)
Actually invoke the afterCompletion methods of the given Spring TransactionSynchronization objects.
voidtriggerAfterCommit()
Trigger afterCommit callbacks on all currently registered synchronizations.
voidtriggerAfterCompletion(int completionStatus)
Trigger afterCompletion callbacks on all currently registered synchronizations.
voidtriggerBeforeCommit(boolean readOnly)
Trigger beforeCommit callbacks on all currently registered synchronizations.
voidtriggerBeforeCompletion()
Trigger beforeCompletion callbacks on all currently registered synchronizations.
ObjectunwrapResourceIfNecessary(Object resource)
Unwrap the given resource handle if necessary; otherwise return the given handle as-is.