org.axonframework.contextsupport.spring
Class JpaEventStoreBeanDefinitionParser

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

public class JpaEventStoreBeanDefinitionParser
extends org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser

The JpaEventStoreBeanDefinitionParser is responsible for parsing the eventStore element form the Axon namespace. It creates a BeanDefinition based either on a JpaEventStore or on a FileSystemEventStore, depending on the selected configuration.

Since:
0.7
Author:
Ben Z. Tels, Allard Buijze, Rob van der Linden Vooren

Field Summary
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
 
Constructor Summary
JpaEventStoreBeanDefinitionParser()
           
 
Method Summary
protected  void doParse(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
          
protected  Class<?> getBeanClass(Element element)
          
protected  boolean shouldGenerateIdAsFallback()
           
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClassName, getParentName, parseInternal
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JpaEventStoreBeanDefinitionParser

public JpaEventStoreBeanDefinitionParser()
Method Detail

getBeanClass

protected Class<?> getBeanClass(Element element)

Overrides:
getBeanClass in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser

doParse

protected void doParse(Element element,
                       org.springframework.beans.factory.xml.ParserContext parserContext,
                       org.springframework.beans.factory.support.BeanDefinitionBuilder builder)

Overrides:
doParse in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser

shouldGenerateIdAsFallback

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


Copyright © 2010-2016. All Rights Reserved.