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(java.lang.String advisorBeanName,
BeanDefinition advisorDefinition) |
AdvisorComponentDefinition(java.lang.String advisorBeanName,
BeanDefinition advisorDefinition,
BeanDefinition pointcutDefinition) |
Modifier and Type | Method and Description |
---|---|
BeanDefinition[] |
getBeanDefinitions()
Returns an empty array.
|
BeanReference[] |
getBeanReferences()
Returns an empty array.
|
java.lang.String |
getDescription()
Delegates to
ComponentDefinition.getName() . |
java.lang.String |
getName()
Get the user-visible name of this
ComponentDefinition . |
java.lang.Object |
getSource()
Return the configuration source
Object for this metadata element
(may be null ). |
getInnerBeanDefinitions, toString
public AdvisorComponentDefinition(java.lang.String advisorBeanName, BeanDefinition advisorDefinition)
public AdvisorComponentDefinition(java.lang.String advisorBeanName, BeanDefinition advisorDefinition, BeanDefinition pointcutDefinition)
public java.lang.String getName()
ComponentDefinition
ComponentDefinition
.
This should link back directly to the corresponding configuration data for this component in a given context.
public java.lang.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
public java.lang.Object getSource()
BeanMetadataElement
Object
for this metadata element
(may be null
).