Class TransactionalEventListenerFactory

java.lang.Object
org.springframework.transaction.event.TransactionalEventListenerFactory
All Implemented Interfaces:
org.springframework.context.event.EventListenerFactory, org.springframework.core.Ordered
Direct Known Subclasses:
RestrictedTransactionalEventListenerFactory

public class TransactionalEventListenerFactory extends Object implements org.springframework.context.event.EventListenerFactory, org.springframework.core.Ordered
EventListenerFactory implementation that handles TransactionalEventListener annotated methods.
Since:
4.2
Author:
Stephane Nicoll
See Also:
  • Constructor Details

    • TransactionalEventListenerFactory

      public TransactionalEventListenerFactory()
  • Method Details

    • setOrder

      public void setOrder(int order)
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered
    • supportsMethod

      public boolean supportsMethod(Method method)
      Specified by:
      supportsMethod in interface org.springframework.context.event.EventListenerFactory
    • createApplicationListener

      public org.springframework.context.ApplicationListener<?> createApplicationListener(String beanName, Class<?> type, Method method)
      Specified by:
      createApplicationListener in interface org.springframework.context.event.EventListenerFactory