public abstract class AbstractBeanDefinitionParser extends AbstractBeanDefinitionParser
BeanDefinitionParser implementations.ID_ATTRIBUTE, NAME_ATTRIBUTE| Constructor and Description |
|---|
AbstractBeanDefinitionParser() |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractBeanDefinition |
createBeanDefinition(Class<?> beanClass,
Element element,
ParserContext parserContext)
Create a new bean definition.
|
protected void |
error(Element element,
ParserContext parserContext,
String message)
Report an error and throw an exception.
|
protected void |
parseStandardAttributes(AbstractBeanDefinition beanDefinition,
Element element,
ParserContext parserContext)
Parse the standard Spring bean attributes such as
scope, depends-on, abstract, etc. |
parse, parseInternal, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliasesprotected AbstractBeanDefinition createBeanDefinition(Class<?> beanClass, Element element, ParserContext parserContext)
beanClass - bean typeelement - the element that the new bean definition is associated withparserContext - parser contextprotected void parseStandardAttributes(AbstractBeanDefinition beanDefinition, Element element, ParserContext parserContext)
scope, depends-on, abstract, etc.beanDefinition - bean definition to modifyelement - the XML element on which to look for attributesparserContext - parser contextprotected void error(Element element, ParserContext parserContext, String message)
element - XML elementparserContext - parser contextmessage - error messageCopyright © 2020. All rights reserved.