Class AdvisorComponentDefinition

java.lang.Object
org.springframework.beans.factory.parsing.AbstractComponentDefinition
org.springframework.aop.config.AdvisorComponentDefinition
All Implemented Interfaces:
org.springframework.beans.BeanMetadataElement, org.springframework.beans.factory.parsing.ComponentDefinition

public class AdvisorComponentDefinition extends org.springframework.beans.factory.parsing.AbstractComponentDefinition
ComponentDefinition that bridges the gap between the advisor bean definition configured by the <aop:advisor> tag and the component definition infrastructure.
Since:
2.0
Author:
Rob Harrop, Juergen Hoeller
  • Constructor Details

    • AdvisorComponentDefinition

      public AdvisorComponentDefinition(String advisorBeanName, org.springframework.beans.factory.config.BeanDefinition advisorDefinition)
    • AdvisorComponentDefinition

      public AdvisorComponentDefinition(String advisorBeanName, org.springframework.beans.factory.config.BeanDefinition advisorDefinition, @Nullable org.springframework.beans.factory.config.BeanDefinition pointcutDefinition)
  • Method Details

    • getName

      public String getName()
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface org.springframework.beans.factory.parsing.ComponentDefinition
      Overrides:
      getDescription in class org.springframework.beans.factory.parsing.AbstractComponentDefinition
    • getBeanDefinitions

      public org.springframework.beans.factory.config.BeanDefinition[] getBeanDefinitions()
      Specified by:
      getBeanDefinitions in interface org.springframework.beans.factory.parsing.ComponentDefinition
      Overrides:
      getBeanDefinitions in class org.springframework.beans.factory.parsing.AbstractComponentDefinition
    • getBeanReferences

      public org.springframework.beans.factory.config.BeanReference[] getBeanReferences()
      Specified by:
      getBeanReferences in interface org.springframework.beans.factory.parsing.ComponentDefinition
      Overrides:
      getBeanReferences in class org.springframework.beans.factory.parsing.AbstractComponentDefinition
    • getSource

      @Nullable public Object getSource()