org.axonframework.contextsupport.spring
Class RepositoryBeanDefinitionParser

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

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

The RepositoryBeanDefinitionParser is responsible for parsing the repository element from the Axon namespace. It creates a BeanDefinition based on the EventSourcingRepository.

Since:
0.7
Author:
Ben Z. Tels, Allard Buijze

Field Summary
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
 
Constructor Summary
RepositoryBeanDefinitionParser()
           
 
Method Summary
protected  org.springframework.beans.factory.support.AbstractBeanDefinition parseInternal(Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
           
protected  boolean shouldGenerateIdAsFallback()
           
 
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

RepositoryBeanDefinitionParser

public RepositoryBeanDefinitionParser()
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

shouldGenerateIdAsFallback

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


Copyright © 2010-2016. All Rights Reserved.