public class ExtensionBeanDefinitionParser extends AbstractExtBeanDefinitionParser
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
CONTENT |
REFID_ATTRIBUTE| 构造器和说明 |
|---|
ExtensionBeanDefinitionParser() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Class<?> |
getBeanClass(Element element)
Determine the bean class corresponding to the supplied
Element. |
static ExtensionBeanDefinitionParser |
getInstance() |
protected void |
parserSubElement(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder) |
String |
supportTagName() |
configBeanClassLoader, doParse, parseAttribute, shouldGenerateIdAsFallbackdoParse, getBeanClassName, getParentName, parseInternalparse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateIdpublic static ExtensionBeanDefinitionParser getInstance()
protected Class<?> getBeanClass(Element element)
Element.
Note that, for application classes, it is generally preferable to
override AbstractSingleExtPointBeanDefinitionParser.getBeanClassName(org.w3c.dom.Element) instead, in order to avoid a direct
dependence on the bean implementation class. The BeanDefinitionParser
and its NamespaceHandler can be used within an IDE plugin then, even
if the application classes are not available on the plugin's classpath.
getBeanClass 在类中 AbstractSingleExtPointBeanDefinitionParserelement - the Element that is being parsedClass of the bean that is being defined via parsing
the supplied Element, or null if noneAbstractSingleExtPointBeanDefinitionParser.getBeanClassName(org.w3c.dom.Element)protected void parserSubElement(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
public String supportTagName()
Copyright © 2019. All rights reserved.