类的使用
org.springframework.transaction.interceptor.TransactionAspectSupport.TransactionInfo
使用TransactionAspectSupport.TransactionInfo的程序包 程序包 说明 org.springframework.transaction.interceptor AOP-based solution for declarative transaction demarcation.org.springframework.transaction.interceptor中TransactionAspectSupport.TransactionInfo的使用
返回TransactionAspectSupport.TransactionInfo的org.springframework.transaction.interceptor中的方法 修饰符和类型 方法 说明 protected TransactionAspectSupport.TransactionInfo
TransactionAspectSupport. createTransactionIfNecessary(PlatformTransactionManager tm, TransactionAttribute txAttr, String joinpointIdentification)
Create a transaction if necessary based on the given TransactionAttribute.protected static TransactionAspectSupport.TransactionInfo
TransactionAspectSupport. currentTransactionInfo()
Subclasses can use this to return the current TransactionInfo.protected TransactionAspectSupport.TransactionInfo
TransactionAspectSupport. prepareTransactionInfo(PlatformTransactionManager tm, TransactionAttribute txAttr, String joinpointIdentification, TransactionStatus status)
Prepare a TransactionInfo for the given attribute and status object.参数类型为TransactionAspectSupport.TransactionInfo的org.springframework.transaction.interceptor中的方法 修饰符和类型 方法 说明 protected void
TransactionAspectSupport. cleanupTransactionInfo(TransactionAspectSupport.TransactionInfo txInfo)
Reset the TransactionInfo ThreadLocal.protected void
TransactionAspectSupport. commitTransactionAfterReturning(TransactionAspectSupport.TransactionInfo txInfo)
Execute after successful completion of call, but not after an exception was handled.protected void
TransactionAspectSupport. completeTransactionAfterThrowing(TransactionAspectSupport.TransactionInfo txInfo, Throwable ex)
Handle a throwable, completing the transaction.