protected final class TransactionAspectSupport.TransactionInfo extends Object
Constructor and Description |
---|
TransactionInfo(PlatformTransactionManager transactionManager,
TransactionAttribute transactionAttribute,
String joinpointIdentification) |
Modifier and Type | Method and Description |
---|---|
String |
getJoinpointIdentification()
Return a String representation of this joinpoint (usually a Method call)
for use in logging.
|
TransactionAttribute |
getTransactionAttribute() |
PlatformTransactionManager |
getTransactionManager() |
TransactionStatus |
getTransactionStatus() |
boolean |
hasTransaction()
Return whether a transaction was created by this aspect,
or whether we just have a placeholder to keep ThreadLocal stack integrity.
|
void |
newTransactionStatus(TransactionStatus status) |
String |
toString() |
public TransactionInfo(@Nullable PlatformTransactionManager transactionManager, @Nullable TransactionAttribute transactionAttribute, String joinpointIdentification)
public PlatformTransactionManager getTransactionManager()
@Nullable public TransactionAttribute getTransactionAttribute()
public String getJoinpointIdentification()
public void newTransactionStatus(@Nullable TransactionStatus status)
@Nullable public TransactionStatus getTransactionStatus()
public boolean hasTransaction()