org.axonframework.contextsupport.spring
Class SagaManagerBeanDefinitionParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.axonframework.contextsupport.spring.SagaManagerBeanDefinitionParser
All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser

public class SagaManagerBeanDefinitionParser
extends org.springframework.beans.factory.xml.AbstractBeanDefinitionParser

Parses the saga-manager element. If that element contains an async child element, processing is forwarded to the AsyncSagaManagerBeanDefinitionParser. Otherwise, the SyncSagaManagerBeanDefinitionParser will process the element.

Since:
2.0
Author:
Allard Buijze

Nested Class Summary
static class SagaManagerBeanDefinitionParser.SagaManagerLifecycleManager
          Manages the subscription of a SagaManager with an Event Bus.
 
Field Summary
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
 
Method Summary
protected  org.springframework.beans.factory.support.AbstractBeanDefinition parseInternal(Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
           
protected  void registerBeanDefinition(org.springframework.beans.factory.config.BeanDefinitionHolder definition, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
           
protected  boolean shouldGenerateIdAsFallback()
           
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, resolveId, shouldFireEvents, shouldGenerateId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

parseInternal

protected org.springframework.beans.factory.support.AbstractBeanDefinition parseInternal(Element element,
                                                                                         org.springframework.beans.factory.xml.ParserContext parserContext)
Specified by:
parseInternal in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser

registerBeanDefinition

protected void registerBeanDefinition(org.springframework.beans.factory.config.BeanDefinitionHolder definition,
                                      org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
Overrides:
registerBeanDefinition in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser

shouldGenerateIdAsFallback

protected boolean shouldGenerateIdAsFallback()
Overrides:
shouldGenerateIdAsFallback in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser


Copyright © 2010-2016. All Rights Reserved.