T
- connection typeprotected static final class TransactionalInterceptor.TransactionInfo<T>
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
TransactionInfo(SynchronousTransactionManager<T> transactionManager,
TransactionAttribute transactionAttribute,
io.micronaut.inject.ExecutableMethod<java.lang.Object,java.lang.Object> executableMethod)
Constructs a new transaction info.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getJoinpointIdentification() |
SynchronousTransactionManager<T> |
getTransactionManager() |
TransactionStatus<T> |
getTransactionStatus() |
boolean |
hasTransaction() |
void |
newTransactionStatus(TransactionStatus<T> status)
Create a new status.
|
java.lang.String |
toString() |
protected TransactionInfo(@NonNull SynchronousTransactionManager<T> transactionManager, @NonNull TransactionAttribute transactionAttribute, @NonNull io.micronaut.inject.ExecutableMethod<java.lang.Object,java.lang.Object> executableMethod)
transactionManager
- The transaction managertransactionAttribute
- The transaction attributeexecutableMethod
- The joint point identification@NonNull public SynchronousTransactionManager<T> getTransactionManager()
@NonNull public java.lang.String getJoinpointIdentification()
public void newTransactionStatus(@NonNull TransactionStatus<T> status)
status
- The status.@NonNull public TransactionStatus<T> getTransactionStatus()
public boolean hasTransaction()
public java.lang.String toString()
toString
in class java.lang.Object