接口的使用
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-basedBeanFactoryimplementation, including a standard "spring-beans" XSD.org.springframework.aop.config中ComponentDefinition的使用
实现ComponentDefinition的org.springframework.aop.config中的类 修饰符和类型 类 说明 classAdvisorComponentDefinitionComponentDefinitionthat bridges the gap between the advisor bean definition configured by the<aop:advisor>tag and the component definition infrastructure.classAspectComponentDefinitionComponentDefinitionthat holds an aspect definition, including its nested pointcuts.classPointcutComponentDefinitionComponentDefinitionimplementation that holds a pointcut definition.org.springframework.beans.factory.parsing中ComponentDefinition的使用
实现ComponentDefinition的org.springframework.beans.factory.parsing中的类 修饰符和类型 类 说明 classAbstractComponentDefinitionBase implementation ofComponentDefinitionthat provides a basic implementation ofAbstractComponentDefinition.getDescription()which delegates togetName().classBeanComponentDefinitionComponentDefinition based on a standard BeanDefinition, exposing the given bean definition as well as inner bean definitions and bean references for the given bean.classCompositeComponentDefinitionComponentDefinitionimplementation that holds one or more nestedComponentDefinitioninstances, 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中的方法 修饰符和类型 方法 说明 voidCompositeComponentDefinition. addNestedComponent(ComponentDefinition component)Add the given component as nested element of this composite component.voidEmptyReaderEventListener. componentRegistered(ComponentDefinition componentDefinition)voidReaderEventListener. componentRegistered(ComponentDefinition componentDefinition)Notification that the given component has been registered.voidReaderContext. fireComponentRegistered(ComponentDefinition componentDefinition)Fire a component-registered event.org.springframework.beans.factory.xml中ComponentDefinition的使用
参数类型为ComponentDefinition的org.springframework.beans.factory.xml中的方法 修饰符和类型 方法 说明 voidParserContext. registerComponent(ComponentDefinition component)