Package xyz.block.ftl

Annotation Transactional

  • All Implemented Interfaces:
    java.lang.annotation.Annotation

    @Target(value = ElementType.METHOD)@Retention(value = RetentionPolicy.RUNTIME) 
    public @interface Transactional
    
                        

    Annotation that is used to define the boundaries of a transaction. When a transaction verb is called, a new transaction is started. When the verb returns, the transaction is committed unless an exception is thrown. If an exception is thrown, the transaction is rolled back.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class java.lang.annotation.Annotation

        annotationType, equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail