Annotation Type TransactionalEventListener

    • Optional Element Summary

      Optional Elements 
      Modifier and TypeOptional ElementDescription
      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().