Uses of Class
org.springframework.transaction.interceptor.TransactionAspectSupport.TransactionInfo
Packages that use TransactionAspectSupport.TransactionInfo
Package
Description
AOP-based solution for declarative transaction demarcation.
-
Uses of TransactionAspectSupport.TransactionInfo in org.springframework.transaction.interceptor
Methods in org.springframework.transaction.interceptor that return TransactionAspectSupport.TransactionInfoModifier and TypeMethodDescriptionprotected TransactionAspectSupport.TransactionInfoTransactionAspectSupport.createTransactionIfNecessary(@Nullable PlatformTransactionManager tm, @Nullable TransactionAttribute txAttr, String joinpointIdentification) Create a transaction if necessary based on the given TransactionAttribute.protected static @Nullable TransactionAspectSupport.TransactionInfoTransactionAspectSupport.currentTransactionInfo()Subclasses can use this to return the current TransactionInfo.protected TransactionAspectSupport.TransactionInfoTransactionAspectSupport.prepareTransactionInfo(@Nullable PlatformTransactionManager tm, @Nullable TransactionAttribute txAttr, String joinpointIdentification, @Nullable TransactionStatus status) Prepare a TransactionInfo for the given attribute and status object.Methods in org.springframework.transaction.interceptor with parameters of type TransactionAspectSupport.TransactionInfoModifier and TypeMethodDescriptionprotected voidTransactionAspectSupport.cleanupTransactionInfo(@Nullable TransactionAspectSupport.TransactionInfo txInfo) Reset the TransactionInfo ThreadLocal.protected voidTransactionAspectSupport.commitTransactionAfterReturning(@Nullable TransactionAspectSupport.TransactionInfo txInfo) Execute after successful completion of call, but not after an exception was handled.protected voidTransactionAspectSupport.completeTransactionAfterThrowing(@Nullable TransactionAspectSupport.TransactionInfo txInfo, Throwable ex) Handle a throwable, completing the transaction.