Package io.micronaut.transaction.support
Class TransactionUtil
java.lang.Object
io.micronaut.transaction.support.TransactionUtil
Transaction utils.
- Since:
- 3.5.0
- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull TransactionDefinition
getTransactionDefinition
(String name, io.micronaut.core.annotation.AnnotationMetadataProvider annotationMetadataProvider) Creates a transaction definition from a given name and annotation metadata provider.
-
Method Details
-
getTransactionDefinition
@NonNull public static @NonNull TransactionDefinition getTransactionDefinition(String name, io.micronaut.core.annotation.AnnotationMetadataProvider annotationMetadataProvider) Creates a transaction definition from a given name and annotation metadata provider.- Parameters:
name
- The nameannotationMetadataProvider
- The annotation metadata- Returns:
- the transaction definition
-