Top Description Fields Constructors Methods
org.springframework.aop.config

public Class PointcutComponentDefinition

extends AbstractComponentDefinition
Class Inheritance
Imports
org.springframework.beans.factory.config.BeanDefinition, org.springframework.beans.factory.parsing.AbstractComponentDefinition, org.springframework.lang.Nullable, org.springframework.util.Assert

org.springframework.beans.factory.parsing.ComponentDefinition implementation that holds a pointcut definition.
Author
Rob Harrop
Since
2.0

Field Summary

Modifier and TypeField and Description
private final String
private final String
private final BeanDefinition

Constructor Summary

AccessConstructor and Description
public
PointcutComponentDefinition(String pointcutBeanName, BeanDefinition pointcutDefinition, String expression)

Method Summary

Modifier and TypeMethod and Description
public BeanDefinition[]
public String
public String
getName()

Implements org.springframework.beans.factory.parsing.ComponentDefinition.getName.

Get the user-visible name of this ComponentDefinition.
public Object
getSource()

Overrides default org.springframework.beans.BeanMetadataElement.getSource.

Return the configuration source Object for this metadata element (may be null).
Inherited from org.springframework.beans.factory.parsing.AbstractComponentDefinition:
getBeanReferencesgetInnerBeanDefinitionstoString

Field Detail

descriptionback to summary
private final String description
pointcutBeanNameback to summary
private final String pointcutBeanName
pointcutDefinitionback to summary
private final BeanDefinition pointcutDefinition

Constructor Detail

PointcutComponentDefinitionback to summary
public PointcutComponentDefinition(String pointcutBeanName, BeanDefinition pointcutDefinition, String expression)

Method Detail

getBeanDefinitionsback to summary
public BeanDefinition[] getBeanDefinitions()

Overrides org.springframework.beans.factory.parsing.AbstractComponentDefinition.getBeanDefinitions.

Implements org.springframework.beans.factory.parsing.ComponentDefinition.getBeanDefinitions.

Doc from org.springframework.beans.factory.parsing.AbstractComponentDefinition.getBeanDefinitions.

Returns an empty array.

Returns:BeanDefinition[]

Doc from org.springframework.beans.factory.parsing.ComponentDefinition.getBeanDefinitions.

the array of BeanDefinitions, or an empty array if none

Annotations
@Override
getDescriptionback to summary
public String getDescription()

Overrides org.springframework.beans.factory.parsing.AbstractComponentDefinition.getDescription.

Implements org.springframework.beans.factory.parsing.ComponentDefinition.getDescription.

Doc from org.springframework.beans.factory.parsing.AbstractComponentDefinition.getDescription.

Delegates to getName.

Annotations
@Override
getNameback to summary
public String getName()

Implements org.springframework.beans.factory.parsing.ComponentDefinition.getName.

Doc from org.springframework.beans.factory.parsing.ComponentDefinition.getName.

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.

Annotations
@Override
getSourceback to summary
public Object getSource()

Overrides default org.springframework.beans.BeanMetadataElement.getSource.

Doc from org.springframework.beans.BeanMetadataElement.getSource.

Return the configuration source Object for this metadata element (may be null).

Annotations
@Override
@Nullable