Use this
BeanDefinitionParser implementation when you want
to parse some arbitrarily complex XML into one or more
BeanDefinition BeanDefinitions . If you just want to parse some
XML into a single BeanDefinition, you may wish to consider
the simpler convenience extensions of this class, namely
AbstractSingleBeanDefinitionParser and
AbstractSimpleBeanDefinitionParser .
author: Rob Harrop author: Juergen Hoeller author: Rick Evans since: 2.0
Disabled by default; subclasses can override this to enable ID generation.
protected boolean
shouldGenerateIdAsFallback() Should an ID be generated instead if the passed in
Element does not
specify an "id" attribute explicitly?
Disabled by default; subclasses can override this to enable ID generation
as fallback: The parser will first check for an "id" attribute in this case,
only falling back to a generated ID if no value was specified.
Subclasses can override this method to control whether or not the supplied
BeanDefinitionHolder bean is actually even registered, or to
register even more beans.
Should an ID be generated instead of read from the passed in
Element ?
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.
whether the parser should always generate an id
Should an ID be generated instead if the passed in
Element does not
specify an "id" attribute explicitly?
Disabled by default; subclasses can override this to enable ID generation
as fallback: The parser will first check for an "id" attribute in this case,
only falling back to a generated ID if no value was specified.
whether the parser should generate an id if no id was specified