public abstract class AbstractComponentDefinition extends java.lang.Object implements ComponentDefinition
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 and Description |
---|
AbstractComponentDefinition() |
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() . |
BeanDefinition[] |
getInnerBeanDefinitions()
Returns an empty array.
|
java.lang.String |
toString()
Delegates to
getDescription() . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName
getSource
public java.lang.String getDescription()
ComponentDefinition.getName()
.getDescription
in interface ComponentDefinition
public BeanDefinition[] getBeanDefinitions()
getBeanDefinitions
in interface ComponentDefinition
public BeanDefinition[] getInnerBeanDefinitions()
getInnerBeanDefinitions
in interface ComponentDefinition
public BeanReference[] getBeanReferences()
getBeanReferences
in interface ComponentDefinition
public java.lang.String toString()
getDescription()
.toString
in class java.lang.Object