接口的使用
org.springframework.beans.factory.parsing.ComponentDefinition
使用ComponentDefinition的程序包 程序包 说明 org.springframework.aop.config Support package for declarative AOP configuration, with XML schema being the primary configuration format.org.springframework.beans.factory.parsing Support infrastructure for bean definition parsing.org.springframework.beans.factory.xml Contains an abstract XML-basedBeanFactory
implementation, including a standard "spring-beans" XSD.org.springframework.aop.config中ComponentDefinition的使用
实现ComponentDefinition的org.springframework.aop.config中的类 修饰符和类型 类 说明 class
AdvisorComponentDefinition
ComponentDefinition
that bridges the gap between the advisor bean definition configured by the<aop:advisor>
tag and the component definition infrastructure.class
AspectComponentDefinition
ComponentDefinition
that holds an aspect definition, including its nested pointcuts.class
PointcutComponentDefinition
ComponentDefinition
implementation that holds a pointcut definition.org.springframework.beans.factory.parsing中ComponentDefinition的使用
实现ComponentDefinition的org.springframework.beans.factory.parsing中的类 修饰符和类型 类 说明 class
AbstractComponentDefinition
Base implementation ofComponentDefinition
that provides a basic implementation ofAbstractComponentDefinition.getDescription()
which delegates togetName()
.class
BeanComponentDefinition
ComponentDefinition based on a standard BeanDefinition, exposing the given bean definition as well as inner bean definitions and bean references for the given bean.class
CompositeComponentDefinition
ComponentDefinition
implementation that holds one or more nestedComponentDefinition
instances, aggregating them into a named group of components.返回ComponentDefinition的org.springframework.beans.factory.parsing中的方法 修饰符和类型 方法 说明 ComponentDefinition[]
CompositeComponentDefinition. getNestedComponents()
Return the nested components that this composite component holds.参数类型为ComponentDefinition的org.springframework.beans.factory.parsing中的方法 修饰符和类型 方法 说明 void
CompositeComponentDefinition. addNestedComponent(ComponentDefinition component)
Add the given component as nested element of this composite component.void
EmptyReaderEventListener. componentRegistered(ComponentDefinition componentDefinition)
void
ReaderEventListener. componentRegistered(ComponentDefinition componentDefinition)
Notification that the given component has been registered.void
ReaderContext. fireComponentRegistered(ComponentDefinition componentDefinition)
Fire a component-registered event.org.springframework.beans.factory.xml中ComponentDefinition的使用
参数类型为ComponentDefinition的org.springframework.beans.factory.xml中的方法 修饰符和类型 方法 说明 void
ParserContext. registerComponent(ComponentDefinition component)