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
public class AspectComponentDefinition
- extends CompositeComponentDefinition
ComponentDefinition
that holds an aspect definition, including its nested pointcuts.
- Since:
- 2.0
- Author:
- Rob Harrop, Juergen Hoeller
- See Also:
CompositeComponentDefinition.getNestedComponents()
,
PointcutComponentDefinition
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
beanDefinitions
private final BeanDefinition[] beanDefinitions
beanReferences
private final BeanReference[] beanReferences
AspectComponentDefinition
public AspectComponentDefinition(java.lang.String aspectName,
BeanDefinition[] beanDefinitions,
BeanReference[] beanReferences,
java.lang.Object source)
getBeanDefinitions
public BeanDefinition[] getBeanDefinitions()
- Description copied from class:
AbstractComponentDefinition
- Returns an empty array.
- Specified by:
getBeanDefinitions
in interface ComponentDefinition
- Overrides:
getBeanDefinitions
in class AbstractComponentDefinition
- Returns:
- the array of BeanDefinitions, or an empty array if none
getBeanReferences
public BeanReference[] getBeanReferences()
- Description copied from class:
AbstractComponentDefinition
- Returns an empty array.
- Specified by:
getBeanReferences
in interface ComponentDefinition
- Overrides:
getBeanReferences
in class AbstractComponentDefinition
- Returns:
- the array of BeanReferences, or an empty array if none