public class AdvisorComponentDefinition extends AbstractComponentDefinition
ComponentDefinition
that bridges the gap between the advisor bean definition configured
by the <aop:advisor>
tag and the component definition
infrastructure.Constructor and Description |
---|
AdvisorComponentDefinition(String advisorBeanName,
BeanDefinition advisorDefinition) |
AdvisorComponentDefinition(String advisorBeanName,
BeanDefinition advisorDefinition,
BeanDefinition pointcutDefinition) |
Modifier and Type | Method and Description |
---|---|
BeanDefinition[] |
getBeanDefinitions()
Returns an empty array.
|
BeanReference[] |
getBeanReferences()
Returns an empty array.
|
String |
getDescription()
Delegates to
ComponentDefinition.getName() . |
String |
getName()
Get the user-visible name of this
ComponentDefinition . |
Object |
getSource()
Return the configuration source
Object for this metadata element
(may be null ). |
getInnerBeanDefinitions, toString
public AdvisorComponentDefinition(String advisorBeanName, BeanDefinition advisorDefinition)
public AdvisorComponentDefinition(String advisorBeanName, BeanDefinition advisorDefinition, @Nullable BeanDefinition pointcutDefinition)
public String getName()
ComponentDefinition
ComponentDefinition
.
This should link back directly to the corresponding configuration data for this component in a given context.
public String getDescription()
AbstractComponentDefinition
ComponentDefinition.getName()
.getDescription
in interface ComponentDefinition
getDescription
in class AbstractComponentDefinition
public BeanDefinition[] getBeanDefinitions()
AbstractComponentDefinition
getBeanDefinitions
in interface ComponentDefinition
getBeanDefinitions
in class AbstractComponentDefinition
public BeanReference[] getBeanReferences()
AbstractComponentDefinition
getBeanReferences
in interface ComponentDefinition
getBeanReferences
in class AbstractComponentDefinition
@Nullable public Object getSource()
BeanMetadataElement
Object
for this metadata element
(may be null
).