Class AnnotatedEventHandlerInvoker
java.lang.Object
org.springframework.data.rest.core.event.AnnotatedEventHandlerInvoker
- All Implemented Interfaces:
EventListener,BeanPostProcessor,ApplicationListener<RepositoryEvent>
public class AnnotatedEventHandlerInvoker
extends Object
implements ApplicationListener<RepositoryEvent>, BeanPostProcessor
Component to discover annotated repository event handlers and trigger them on
ApplicationEvents.- Author:
- Jon Brisbin, Oliver Gierke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpostProcessAfterInitialization(Object bean, String beanName) postProcessBeforeInitialization(Object bean, String beanName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
AnnotatedEventHandlerInvoker
public AnnotatedEventHandlerInvoker()
-
-
Method Details
-
onApplicationEvent
- Specified by:
onApplicationEventin interfaceApplicationListener<RepositoryEvent>
-
postProcessBeforeInitialization
- Specified by:
postProcessBeforeInitializationin interfaceBeanPostProcessor- Throws:
BeansException
-
postProcessAfterInitialization
- Specified by:
postProcessAfterInitializationin interfaceBeanPostProcessor- Throws:
BeansException
-