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