public class AnnotationConfigurationBeanDefinitionParser
extends org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
BeanDefinitions for an AnnotationCommandHandlerBeanPostProcessor and an
AnnotationEventListenerBeanPostProcessor, with optional
configuration for an explicit CommandBus, EventBus and Executor instance.| Constructor and Description |
|---|
AnnotationConfigurationBeanDefinitionParser() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.beans.factory.support.AbstractBeanDefinition |
parseInternal(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext) |
void |
registerAnnotationCommandHandlerBeanPostProcessor(String commandBus,
String phase,
String unsubscribeOnShutdown,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
Create the
BeanDefinition for the AnnotationCommandHandlerBeanPostProcessor and register it. |
void |
registerAnnotationEventListenerBeanPostProcessor(String eventBus,
String phase,
String unsubscribeOnShutdown,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
Create the
BeanDefinition for the AnnotationEventListenerBeanPostProcessor and register it. |
public AnnotationConfigurationBeanDefinitionParser()
protected org.springframework.beans.factory.support.AbstractBeanDefinition parseInternal(Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
parseInternal in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParserpublic void registerAnnotationEventListenerBeanPostProcessor(String eventBus, String phase, String unsubscribeOnShutdown, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
BeanDefinition for the AnnotationEventListenerBeanPostProcessor and register it.eventBus - The bean name of the event bus to subscribe tophase - The lifecycle phase for the post processorunsubscribeOnShutdown - Whether to unsubscribe beans on shutdownregistry - The registry containing bean definitionspublic void registerAnnotationCommandHandlerBeanPostProcessor(String commandBus, String phase, String unsubscribeOnShutdown, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
BeanDefinition for the AnnotationCommandHandlerBeanPostProcessor and register it.commandBus - The bean name of the command bus to subscribe tophase - The lifecycle phase for the post processorunsubscribeOnShutdown - Whether to unsubscribe beans on shutdownregistry - The registry containing bean definitionsCopyright © 2010-2014. All Rights Reserved.