类 PointcutComponentDefinition
- java.lang.Object
- org.springframework.beans.factory.parsing.AbstractComponentDefinition
- org.springframework.aop.config.PointcutComponentDefinition
- 所有已实现的接口:
BeanMetadataElement
,ComponentDefinition
public class PointcutComponentDefinition extends AbstractComponentDefinition
ComponentDefinition
implementation that holds a pointcut definition.- 从以下版本开始:
- 2.0
- 作者:
- Rob Harrop
构造器概要
构造器 构造器 说明 PointcutComponentDefinition(String pointcutBeanName, BeanDefinition pointcutDefinition, String expression)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 BeanDefinition[]
getBeanDefinitions()
Returns an empty array.String
getDescription()
Delegates toComponentDefinition.getName()
.String
getName()
Get the user-visible name of thisComponentDefinition
.Object
getSource()
Return the configuration sourceObject
for this metadata element (may benull
).从类继承的方法 org.springframework.beans.factory.parsing.AbstractComponentDefinition
getBeanReferences, getInnerBeanDefinitions, toString
构造器详细资料
PointcutComponentDefinition
public PointcutComponentDefinition(String pointcutBeanName, BeanDefinition pointcutDefinition, String expression)
方法详细资料
getName
public String getName()
从接口复制的说明: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
public String getDescription()
从类复制的说明:AbstractComponentDefinition
Delegates toComponentDefinition.getName()
.
getBeanDefinitions
public BeanDefinition[] getBeanDefinitions()
从类复制的说明:AbstractComponentDefinition
Returns an empty array.- 指定者:
getBeanDefinitions
在接口中ComponentDefinition
- 覆盖:
getBeanDefinitions
在类中AbstractComponentDefinition
- 返回:
- the array of BeanDefinitions, or an empty array if none
getSource
public Object getSource()
从接口复制的说明:BeanMetadataElement
Return the configuration sourceObject
for this metadata element (may benull
).