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:
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.context.ApplicationListener<?>createApplicationListener(String beanName, Class<?> type, Method method) intgetOrder()voidsetOrder(int order) booleansupportsMethod(Method method)
-
Constructor Details
-
TransactionalEventListenerFactory
public TransactionalEventListenerFactory()
-
-
Method Details
-
setOrder
public void setOrder(int order) -
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
supportsMethod
- Specified by:
supportsMethodin interfaceorg.springframework.context.event.EventListenerFactory
-
createApplicationListener
public org.springframework.context.ApplicationListener<?> createApplicationListener(String beanName, Class<?> type, Method method) - Specified by:
createApplicationListenerin interfaceorg.springframework.context.event.EventListenerFactory
-