org.springframework.aop.config
Class PointcutComponentDefinition
java.lang.Object
org.springframework.beans.factory.parsing.AbstractComponentDefinition
org.springframework.aop.config.PointcutComponentDefinition
- All Implemented Interfaces:
- BeanMetadataElement, ComponentDefinition
public class PointcutComponentDefinition
- extends AbstractComponentDefinition
- Since:
- 2.0
- Author:
- Rob Harrop
PointcutComponentDefinition
public PointcutComponentDefinition(String pointcutBeanName,
BeanDefinition pointcutDefinition,
String expression)
getName
public String getName()
- Description copied from interface:
ComponentDefinition
- Get the user visible name of this
ComponentDefinition
.
This should link back directly to the corresponding configuration data
for this component in a given context.
getDescription
public String getDescription()
- Description copied from class:
AbstractComponentDefinition
- Delegates to
ComponentDefinition.getName()
.
- Specified by:
getDescription
in interface ComponentDefinition
- Overrides:
getDescription
in class AbstractComponentDefinition
getBeanDefinitions
public BeanDefinition[] getBeanDefinitions()
- Description copied from interface:
ComponentDefinition
- Return the
BeanDefinitions
that were registered
to form this ComponentDefinition
.
It should be noted that a ComponentDefinition
may well be related with
other BeanDefinitions
via references
,
however these are not included as they may be not available immediately.
Important BeanReferences
are available from ComponentDefinition.getBeanReferences()
.
- Returns:
- the array of BeanDefinitions, or an empty array if none
getSource
public Object getSource()
- Description copied from interface:
BeanMetadataElement
- Return the configuration source
Object
for this metadata element
(may be null
).
Copyright © 2002-2006 The Spring Framework.