Package 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
ComponentDefinition
implementation that holds a pointcut definition.- Since:
- 2.0
- Author:
- Rob Harrop
-
Constructor Summary
ConstructorDescriptionPointcutComponentDefinition
(String pointcutBeanName, BeanDefinition pointcutDefinition, String expression) -
Method Summary
Modifier and TypeMethodDescriptionReturns an empty array.Delegates toComponentDefinition.getName()
.getName()
Get the user-visible name of thisComponentDefinition
.Return the configuration sourceObject
for this metadata element (may benull
).Methods inherited from class org.springframework.beans.factory.parsing.AbstractComponentDefinition
getBeanReferences, getInnerBeanDefinitions, toString
-
Constructor Details
-
PointcutComponentDefinition
public PointcutComponentDefinition(String pointcutBeanName, BeanDefinition pointcutDefinition, String expression)
-
-
Method Details
-
getName
Description copied from interface:ComponentDefinition
Get the user-visible name of thisComponentDefinition
.This should link back directly to the corresponding configuration data for this component in a given context.
-
getDescription
Description copied from class:AbstractComponentDefinition
Delegates toComponentDefinition.getName()
.- Specified by:
getDescription
in interfaceComponentDefinition
- Overrides:
getDescription
in classAbstractComponentDefinition
-
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
-
getSource
Description copied from interface:BeanMetadataElement
Return the configuration sourceObject
for this metadata element (may benull
).
-