public class JournalingStateRepositoryBeanPostProcessor
extends java.lang.Object
implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.core.Ordered, org.springframework.context.ApplicationContextAware
JournalingStateRepository beans, finds methods
annotated as EventSourceConsumer in the state repository bean, and registers
journaling interceptors for every annotated method, so that messages
that are updating the entites stored in the JournalingStateRepository will be added to the
MessageStore associated with the state repository.| Constructor and Description |
|---|
JournalingStateRepositoryBeanPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
java.lang.Object |
postProcessAfterInitialization(java.lang.Object bean,
java.lang.String beanName) |
java.lang.Object |
postProcessBeforeInitialization(java.lang.Object bean,
java.lang.String beanName) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public JournalingStateRepositoryBeanPostProcessor()
public int getOrder()
getOrder in interface org.springframework.core.Orderedpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic java.lang.Object postProcessBeforeInitialization(java.lang.Object bean,
java.lang.String beanName)
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessorpublic java.lang.Object postProcessAfterInitialization(java.lang.Object bean,
java.lang.String beanName)
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor