org.springframework.jdbc.config
Class EmbeddedDatabaseBeanDefinitionParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.springframework.jdbc.config.EmbeddedDatabaseBeanDefinitionParser
All Implemented Interfaces:
BeanDefinitionParser

public class EmbeddedDatabaseBeanDefinitionParser
extends AbstractBeanDefinitionParser

BeanDefinitionParser that parses embedded-database element and creates a BeanDefinition for EmbeddedDatabaseFactoryBean. Picks up nested script elements and configures a ResourceDatabasePopulator for them.

Since:
3.0
Author:
Oliver Gierke

Field Summary
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
 
Constructor Summary
EmbeddedDatabaseBeanDefinitionParser()
           
 
Method Summary
protected  AbstractBeanDefinition parseInternal(Element element, ParserContext context)
          Central template method to actually parse the supplied Element into one or more BeanDefinitions.
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmbeddedDatabaseBeanDefinitionParser

public EmbeddedDatabaseBeanDefinitionParser()
Method Detail

parseInternal

protected AbstractBeanDefinition parseInternal(Element element,
                                               ParserContext context)
Description copied from class: AbstractBeanDefinitionParser
Central template method to actually parse the supplied Element into one or more BeanDefinitions.

Specified by:
parseInternal in class AbstractBeanDefinitionParser
Parameters:
element - the element that is to be parsed into one or more BeanDefinitions
context - the object encapsulating the current state of the parsing process; provides access to a BeanDefinitionRegistry
Returns:
the primary BeanDefinition resulting from the parsing of the supplied Element
See Also:
AbstractBeanDefinitionParser.parse(org.w3c.dom.Element, ParserContext), AbstractBeanDefinitionParser.postProcessComponentDefinition(org.springframework.beans.factory.parsing.BeanComponentDefinition)