Class TransactionUtil

java.lang.Object
io.micronaut.transaction.support.TransactionUtil

@Internal public final class TransactionUtil extends Object
Transaction utils.
Since:
3.5.0
Author:
Denis Stepanov
  • 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 name
      annotationMetadataProvider - The annotation metadata
      Returns:
      the transaction definition