|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.beans.factory.parsing.AbstractComponentDefinition
org.springframework.aop.config.AdvisorComponentDefinition
public class AdvisorComponentDefinition
ComponentDefinition
that bridges the gap between the advisor bean definition configured
by the <aop:advisor> tag and the component definition
infrastructure.
| Field Summary | |
|---|---|
private java.lang.String |
advisorBeanName
|
private BeanDefinition |
advisorDefinition
|
private BeanDefinition[] |
beanDefinitions
|
private BeanReference[] |
beanReferences
|
private java.lang.String |
description
|
| Constructor Summary | |
|---|---|
AdvisorComponentDefinition(java.lang.String advisorBeanName,
BeanDefinition advisorDefinition)
|
|
AdvisorComponentDefinition(java.lang.String advisorBeanName,
BeanDefinition advisorDefinition,
BeanDefinition pointcutDefinition)
|
|
| Method Summary | |
|---|---|
private java.lang.String |
buildDescription(BeanReference adviceReference,
BeanDefinition pointcutDefinition)
|
private java.lang.String |
buildDescription(BeanReference adviceReference,
BeanReference pointcutReference)
|
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). |
private void |
unwrapDefinitions(BeanDefinition advisorDefinition,
BeanDefinition pointcutDefinition)
|
| Methods inherited from class org.springframework.beans.factory.parsing.AbstractComponentDefinition |
|---|
getInnerBeanDefinitions, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private final java.lang.String advisorBeanName
private final BeanDefinition advisorDefinition
private java.lang.String description
private BeanReference[] beanReferences
private BeanDefinition[] beanDefinitions
| Constructor Detail |
|---|
public AdvisorComponentDefinition(java.lang.String advisorBeanName,
BeanDefinition advisorDefinition)
public AdvisorComponentDefinition(java.lang.String advisorBeanName,
BeanDefinition advisorDefinition,
BeanDefinition pointcutDefinition)
| Method Detail |
|---|
private void unwrapDefinitions(BeanDefinition advisorDefinition,
BeanDefinition pointcutDefinition)
private java.lang.String buildDescription(BeanReference adviceReference,
BeanDefinition pointcutDefinition)
private java.lang.String buildDescription(BeanReference adviceReference,
BeanReference pointcutReference)
public java.lang.String getName()
ComponentDefinitionComponentDefinition.
This should link back directly to the corresponding configuration data for this component in a given context.
public java.lang.String getDescription()
AbstractComponentDefinitionComponentDefinition.getName().
getDescription in interface ComponentDefinitiongetDescription in class AbstractComponentDefinitionpublic BeanDefinition[] getBeanDefinitions()
AbstractComponentDefinition
getBeanDefinitions in interface ComponentDefinitiongetBeanDefinitions in class AbstractComponentDefinitionpublic BeanReference[] getBeanReferences()
AbstractComponentDefinition
getBeanReferences in interface ComponentDefinitiongetBeanReferences in class AbstractComponentDefinitionpublic java.lang.Object getSource()
BeanMetadataElementObject for this metadata element
(may be null).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||