org.springframework.beans.factory.xml.BeanDefinitionParser that parses an initialize-database
element and creates a BeanDefinition of type DataSourceInitializer. Picks up nested
script elements and configures a ResourceDatabasePopulator for them.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected AbstractBeanDefinition | parseInternal(Element
the element that is to be parsed into one or more element, ParserContext BeanDefinitionsthe object encapsulating the current state of the parsing process;
provides access to a parserContext)org.Implements abstract org. Central template method to actually parse the supplied |
| protected boolean | shouldGenerateId()
Overrides org. Should an ID be generated instead of read from the passed in |
| InitializeDatabaseBeanDefinitionParser | back to summary |
|---|---|
| pack-priv InitializeDatabaseBeanDefinitionParser() | |
| parseInternal | back to summary |
|---|---|
| protected AbstractBeanDefinition parseInternal(Element element, ParserContext parserContext) Implements abstract org. Doc from org. Central template method to actually parse the supplied
| |
| shouldGenerateId | back to summary |
|---|---|
| protected boolean shouldGenerateId() Overrides org. Doc from org. Should an ID be generated instead of read from the passed in Disabled by default; subclasses can override this to enable ID generation. Note that this flag is about always generating an ID; the parser won't even check for an "id" attribute in this case.
| |