Package org.springframework.aop.config
Class AspectComponentDefinition
java.lang.Object
org.springframework.beans.factory.parsing.AbstractComponentDefinition
org.springframework.beans.factory.parsing.CompositeComponentDefinition
org.springframework.aop.config.AspectComponentDefinition
- All Implemented Interfaces:
BeanMetadataElement
,ComponentDefinition
ComponentDefinition
that holds an aspect definition, including its nested pointcuts.- Since:
- 2.0
- Author:
- Rob Harrop, Juergen Hoeller
- See Also:
-
Constructor Summary
ConstructorDescriptionAspectComponentDefinition
(String aspectName, BeanDefinition[] beanDefinitions, BeanReference[] beanReferences, Object source) -
Method Summary
Modifier and TypeMethodDescriptionReturns an empty array.Returns an empty array.Methods inherited from class org.springframework.beans.factory.parsing.CompositeComponentDefinition
addNestedComponent, getName, getNestedComponents, getSource
Methods inherited from class org.springframework.beans.factory.parsing.AbstractComponentDefinition
getDescription, getInnerBeanDefinitions, toString
-
Constructor Details
-
AspectComponentDefinition
public AspectComponentDefinition(String aspectName, @Nullable BeanDefinition[] beanDefinitions, @Nullable BeanReference[] beanReferences, @Nullable Object source)
-
-
Method Details
-
getBeanDefinitions
Description copied from class:AbstractComponentDefinition
Returns an empty array.- Specified by:
getBeanDefinitions
in interfaceComponentDefinition
- Overrides:
getBeanDefinitions
in classAbstractComponentDefinition
- Returns:
- the array of BeanDefinitions, or an empty array if none
-
getBeanReferences
Description copied from class:AbstractComponentDefinition
Returns an empty array.- Specified by:
getBeanReferences
in interfaceComponentDefinition
- Overrides:
getBeanReferences
in classAbstractComponentDefinition
- Returns:
- the array of BeanReferences, or an empty array if none
-