Class AdvisorComponentDefinition
java.lang.Object
org.springframework.beans.factory.parsing.AbstractComponentDefinition
org.springframework.aop.config.AdvisorComponentDefinition
- All Implemented Interfaces:
- BeanMetadataElement, ComponentDefinition
ComponentDefinition
that bridges the gap between the advisor bean definition configured
by the <aop:advisor> tag and the component definition
infrastructure.- Since:
- 2.0
- Author:
- Rob Harrop, Juergen Hoeller
- 
Constructor SummaryConstructorsConstructorDescriptionAdvisorComponentDefinition(String advisorBeanName, BeanDefinition advisorDefinition) AdvisorComponentDefinition(String advisorBeanName, BeanDefinition advisorDefinition, @Nullable BeanDefinition pointcutDefinition) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns an empty array.Returns an empty array.Delegates toComponentDefinition.getName().getName()Get the user-visible name of thisComponentDefinition.Return the configuration sourceObjectfor this metadata element (may benull).Methods inherited from class AbstractComponentDefinitiongetInnerBeanDefinitions, toString
- 
Constructor Details- 
AdvisorComponentDefinition
- 
AdvisorComponentDefinitionpublic AdvisorComponentDefinition(String advisorBeanName, BeanDefinition advisorDefinition, @Nullable BeanDefinition pointcutDefinition) 
 
- 
- 
Method Details- 
getNameDescription copied from interface:ComponentDefinitionGet the user-visible name of thisComponentDefinition.This should link back directly to the corresponding configuration data for this component in a given context. 
- 
getDescriptionDescription copied from class:AbstractComponentDefinitionDelegates toComponentDefinition.getName().- Specified by:
- getDescriptionin interface- ComponentDefinition
- Overrides:
- getDescriptionin class- AbstractComponentDefinition
 
- 
getBeanDefinitionsDescription copied from class:AbstractComponentDefinitionReturns an empty array.- Specified by:
- getBeanDefinitionsin interface- ComponentDefinition
- Overrides:
- getBeanDefinitionsin class- AbstractComponentDefinition
- Returns:
- the array of BeanDefinitions, or an empty array if none
 
- 
getBeanReferencesDescription copied from class:AbstractComponentDefinitionReturns an empty array.- Specified by:
- getBeanReferencesin interface- ComponentDefinition
- Overrides:
- getBeanReferencesin class- AbstractComponentDefinition
- Returns:
- the array of BeanReferences, or an empty array if none
 
- 
getSourceDescription copied from interface:BeanMetadataElementReturn the configuration sourceObjectfor this metadata element (may benull).
 
-