Class TransactionAspectSupport.TransactionInfo
java.lang.Object
org.springframework.transaction.interceptor.TransactionAspectSupport.TransactionInfo
- Enclosing class:
TransactionAspectSupport
Opaque object used to hold transaction information. Subclasses
must pass it back to methods on this class, but not see its internals.
- Since:
- 1.1
- Author:
- Rod Johnson, Juergen Hoeller, Stéphane Nicoll, Sam Brannen, Mark Paluch, Sebastien Deleuze, Enric Sala
-
Constructor Summary
ConstructorsConstructorDescriptionTransactionInfo
(@Nullable PlatformTransactionManager transactionManager, @Nullable TransactionAttribute transactionAttribute, String joinpointIdentification) -
Method Summary
Modifier and TypeMethodDescriptionReturn a String representation of this joinpoint (usually a Method call) for use in logging.boolean
Return whether a transaction was created by this aspect, or whether we just have a placeholder to keep ThreadLocal stack integrity.void
toString()
-
Constructor Details
-
TransactionInfo
public TransactionInfo(@Nullable PlatformTransactionManager transactionManager, @Nullable TransactionAttribute transactionAttribute, String joinpointIdentification)
-
-
Method Details
-
getTransactionManager
-
getTransactionAttribute
-
getJoinpointIdentification
Return a String representation of this joinpoint (usually a Method call) for use in logging. -
newTransactionStatus
-
getTransactionStatus
-
hasTransaction
public boolean hasTransaction()Return whether a transaction was created by this aspect, or whether we just have a placeholder to keep ThreadLocal stack integrity. -
toString
-