接口的使用
org.springframework.beans.factory.xml.BeanDefinitionParser
使用BeanDefinitionParser的程序包 程序包 说明 org.springframework.beans.factory.xml Contains an abstract XML-basedBeanFactory
implementation, including a standard "spring-beans" XSD.org.springframework.context.annotation Annotation support for the Application Context, including JSR-250 "common" annotations, component-scanning, and Java-based metadata for creating Spring-managed objects.org.springframework.scheduling.config Support package for declarative scheduling configuration, with XML schema being the primary configuration format.org.springframework.transaction.config Support package for declarative transaction configuration, with XML schema being the primary configuration format.org.springframework.web.servlet.config Defines the XML configuration namespace for Spring MVC.org.springframework.beans.factory.xml中BeanDefinitionParser的使用
实现BeanDefinitionParser的org.springframework.beans.factory.xml中的类 修饰符和类型 类 说明 class
AbstractBeanDefinitionParser
AbstractBeanDefinitionParser
implementation providing a number of convenience methods and atemplate method
that subclasses must override to provide the actual parsing logic.class
AbstractSimpleBeanDefinitionParser
Convenient base class for when there exists a one-to-one mapping between attribute names on the element that is to be parsed and the property names on theClass
being configured.class
AbstractSingleBeanDefinitionParser
Base class for thoseBeanDefinitionParser
implementations that need to parse and define just a singleBeanDefinition
.参数类型为BeanDefinitionParser的org.springframework.beans.factory.xml中的方法 修饰符和类型 方法 说明 protected void
NamespaceHandlerSupport. registerBeanDefinitionParser(String elementName, BeanDefinitionParser parser)
Subclasses can call this to register the suppliedBeanDefinitionParser
to handle the specified element.org.springframework.context.annotation中BeanDefinitionParser的使用
实现BeanDefinitionParser的org.springframework.context.annotation中的类 修饰符和类型 类 说明 class
AnnotationConfigBeanDefinitionParser
Parser for the <context:annotation-config/> element.class
ComponentScanBeanDefinitionParser
Parser for the<context:component-scan/>
element.org.springframework.scheduling.config中BeanDefinitionParser的使用
实现BeanDefinitionParser的org.springframework.scheduling.config中的类 修饰符和类型 类 说明 class
AnnotationDrivenBeanDefinitionParser
Parser for the 'annotation-driven' element of the 'task' namespace.class
ExecutorBeanDefinitionParser
Parser for the 'executor' element of the 'task' namespace.class
ScheduledTasksBeanDefinitionParser
Parser for the 'scheduled-tasks' element of the scheduling namespace.class
SchedulerBeanDefinitionParser
Parser for the 'scheduler' element of the 'task' namespace.org.springframework.transaction.config中BeanDefinitionParser的使用
实现BeanDefinitionParser的org.springframework.transaction.config中的类 修饰符和类型 类 说明 class
JtaTransactionManagerBeanDefinitionParser
Parser for the <tx:jta-transaction-manager/> XML configuration element, autodetecting WebLogic and WebSphere servers and exposing the correspondingJtaTransactionManager
subclass.org.springframework.web.servlet.config中BeanDefinitionParser的使用
实现BeanDefinitionParser的org.springframework.web.servlet.config中的类 修饰符和类型 类 说明 class
CorsBeanDefinitionParser
BeanDefinitionParser
that parses acors
element in order to set the CORS configuration in the various {AbstractHandlerMapping} beans created byAnnotationDrivenBeanDefinitionParser
,ResourcesBeanDefinitionParser
andViewControllerBeanDefinitionParser
.class
FreeMarkerConfigurerBeanDefinitionParser
Parse the<mvc:freemarker-configurer>
MVC namespace element and registerFreeMarkerConfigurer
bean.class
GroovyMarkupConfigurerBeanDefinitionParser
Parse the<mvc:groovy-configurer>
MVC namespace element and register aGroovyConfigurer
bean.class
ScriptTemplateConfigurerBeanDefinitionParser
Parse the<mvc:script-template-configurer>
MVC namespace element and register aScriptTemplateConfigurer
bean.class
TilesConfigurerBeanDefinitionParser
Parse the<mvc:tiles-configurer>
MVC namespace element and register a correspondingTilesConfigurer
bean.class
ViewResolversBeanDefinitionParser
Parse theview-resolvers
MVC namespace element and registerViewResolver
bean definitions.