| Package | Description | 
|---|---|
| org.springframework.transaction | Spring's core transaction management APIs (independent of any specific transaction
 management system); an exception hierarchy for Spring's transaction infrastructure;
 and transaction manager, definition, and status interfaces. | 
| org.springframework.transaction.interceptor | AOP-based solution for declarative transaction demarcation. | 
| org.springframework.transaction.support | Support classes for the org.springframework.transaction package. | 
| Modifier and Type | Method and Description | 
|---|---|
| TransactionStatus | PlatformTransactionManager. getTransaction(TransactionDefinition definition)Return a currently active transaction or create a new one, according to
 the specified propagation behavior. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | PlatformTransactionManager. commit(TransactionStatus status)Commit the given transaction, with regard to its status. | 
| void | PlatformTransactionManager. rollback(TransactionStatus status)Perform a rollback of the given transaction. | 
| Modifier and Type | Method and Description | 
|---|---|
| static TransactionStatus | TransactionAspectSupport. currentTransactionStatus()Return the transaction status of the current method invocation. | 
| TransactionStatus | TransactionAspectSupport.TransactionInfo. getTransactionStatus() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | TransactionAspectSupport.TransactionInfo. newTransactionStatus(TransactionStatus status) | 
| protected TransactionAspectSupport.TransactionInfo | TransactionAspectSupport. prepareTransactionInfo(PlatformTransactionManager tm,
                      TransactionAttribute txAttr,
                      String joinpointIdentification,
                      TransactionStatus status)Prepare a TransactionInfo for the given attribute and status object. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractTransactionStatusAbstract base implementation of the
  TransactionStatusinterface. | 
| class  | DefaultTransactionStatusDefault implementation of the  TransactionStatusinterface, used byAbstractPlatformTransactionManager. | 
| class  | SimpleTransactionStatusA simple  TransactionStatusimplementation. | 
| Modifier and Type | Method and Description | 
|---|---|
| TransactionStatus | AbstractPlatformTransactionManager. getTransaction(TransactionDefinition definition)This implementation handles propagation behavior. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AbstractPlatformTransactionManager. commit(TransactionStatus status)This implementation of commit handles participating in existing
 transactions and programmatic rollback requests. | 
| T | TransactionCallback. doInTransaction(TransactionStatus status)Gets called by  TransactionTemplate.execute(org.springframework.transaction.support.TransactionCallback<T>)within a transactional context. | 
| Object | TransactionCallbackWithoutResult. doInTransaction(TransactionStatus status) | 
| protected abstract void | TransactionCallbackWithoutResult. doInTransactionWithoutResult(TransactionStatus status)Gets called by  TransactionTemplate.executewithin a transactional
 context. | 
| void | AbstractPlatformTransactionManager. rollback(TransactionStatus status)This implementation of rollback handles participating in existing
 transactions. | 
| Modifier and Type | Method and Description | 
|---|---|
| default void | TransactionOperations. executeWithoutResult(Consumer<TransactionStatus> action)Execute the action specified by the given  Runnablewithin a transaction. |