|
||||||||||
| 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.beans.factory.parsing.CompositeComponentDefinition
public class CompositeComponentDefinition
ComponentDefinition implementation that holds one or more nested
ComponentDefinition instances, aggregating them into a named group
of components.
getNestedComponents()| Constructor Summary | |
|---|---|
CompositeComponentDefinition(String name,
Object source)
Create a new CompositeComponentDefinition. |
|
| Method Summary | |
|---|---|
void |
addNestedComponent(ComponentDefinition component)
Add the given component as nested element of this composite component. |
String |
getName()
Get the user-visible name of this ComponentDefinition. |
ComponentDefinition[] |
getNestedComponents()
Return the nested components that this composite component holds. |
Object |
getSource()
Return the configuration source Object for this metadata element
(may be null). |
| Methods inherited from class org.springframework.beans.factory.parsing.AbstractComponentDefinition |
|---|
getBeanDefinitions, getBeanReferences, getDescription, getInnerBeanDefinitions, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeComponentDefinition(String name,
Object source)
name - the name of the composite componentsource - the source element that defines the root of the composite component| Method Detail |
|---|
public String getName()
ComponentDefinitionComponentDefinition.
This should link back directly to the corresponding configuration data for this component in a given context.
public Object getSource()
BeanMetadataElementObject for this metadata element
(may be null).
public void addNestedComponent(ComponentDefinition component)
component - the nested component to addpublic ComponentDefinition[] getNestedComponents()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||