|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.beans.factory.parsing.AbstractComponentDefinition
public abstract class AbstractComponentDefinition
Base implementation of ComponentDefinition that provides a basic implementation of
getDescription() which delegates to ComponentDefinition.getName(). Also provides a base implementation
of toString() which delegates to getDescription() in keeping with the recommended
implementation strategy. Also provides default implementations of getInnerBeanDefinitions()
and getBeanReferences() that return an empty array.
| Constructor Summary | |
|---|---|
AbstractComponentDefinition()
|
|
| Method Summary | |
|---|---|
BeanDefinition[] |
getBeanDefinitions()
Returns an empty array. |
BeanReference[] |
getBeanReferences()
Returns an empty array. |
String |
getDescription()
Delegates to ComponentDefinition.getName(). |
BeanDefinition[] |
getInnerBeanDefinitions()
Returns an empty array. |
String |
toString()
Delegates to getDescription(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.springframework.beans.factory.parsing.ComponentDefinition |
|---|
getName |
| Methods inherited from interface org.springframework.beans.BeanMetadataElement |
|---|
getSource |
| Constructor Detail |
|---|
public AbstractComponentDefinition()
| Method Detail |
|---|
public String getDescription()
ComponentDefinition.getName().
getDescription in interface ComponentDefinitionpublic BeanDefinition[] getBeanDefinitions()
getBeanDefinitions in interface ComponentDefinitionpublic BeanDefinition[] getInnerBeanDefinitions()
getInnerBeanDefinitions in interface ComponentDefinitionpublic BeanReference[] getBeanReferences()
getBeanReferences in interface ComponentDefinitionpublic String toString()
getDescription().
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||