Class TransactionalEventListenerFactory
java.lang.Object
org.springframework.transaction.event.TransactionalEventListenerFactory
- All Implemented Interfaces:
org.springframework.context.event.EventListenerFactory
,org.springframework.core.Ordered
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
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.context.ApplicationListener<?>
createApplicationListener
(String beanName, Class<?> type, Method method) int
getOrder()
void
setOrder
(int order) boolean
supportsMethod
(Method method)
-
Constructor Details
-
TransactionalEventListenerFactory
public TransactionalEventListenerFactory()
-
-
Method Details
-
setOrder
public void setOrder(int order) -
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-
supportsMethod
- Specified by:
supportsMethod
in interfaceorg.springframework.context.event.EventListenerFactory
-
createApplicationListener
public org.springframework.context.ApplicationListener<?> createApplicationListener(String beanName, Class<?> type, Method method) - Specified by:
createApplicationListener
in interfaceorg.springframework.context.event.EventListenerFactory
-