org.springframework.jdbc.config
Class EmbeddedDatabaseBeanDefinitionParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmbeddedDatabaseBeanDefinitionParser
public EmbeddedDatabaseBeanDefinitionParser()
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 BeanDefinitionscontext - 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)