org.springframework.aop.config
Class AspectComponentDefinition

java.lang.Object
  extended by org.springframework.beans.factory.parsing.AbstractComponentDefinition
      extended by org.springframework.beans.factory.parsing.CompositeComponentDefinition
          extended by 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

Field Summary
private  BeanDefinition[] beanDefinitions
           
private  BeanReference[] beanReferences
           
 
Constructor Summary
AspectComponentDefinition(java.lang.String aspectName, BeanDefinition[] beanDefinitions, BeanReference[] beanReferences, java.lang.Object source)
           
 
Method Summary
 BeanDefinition[] getBeanDefinitions()
          Returns an empty array.
 BeanReference[] getBeanReferences()
          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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

beanDefinitions

private final BeanDefinition[] beanDefinitions

beanReferences

private final BeanReference[] beanReferences
Constructor Detail

AspectComponentDefinition

public AspectComponentDefinition(java.lang.String aspectName,
                                 BeanDefinition[] beanDefinitions,
                                 BeanReference[] beanReferences,
                                 java.lang.Object source)
Method Detail

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