注释类型 TransactionalEventListener

    • 可选元素概要

      可选元素 
      修饰符和类型可选元素说明
      Class<?>[]classes
      The event classes that this listener handles.
      Stringcondition
      Spring Expression Language (SpEL) attribute used for making the event handling conditional.
      booleanfallbackExecution
      Whether the event should be processed if no transaction is running.
      TransactionPhasephase
      Phase to bind the handling of an event to.
      Class<?>[]value
      Alias for classes().