public interface Component
| Modifier and Type | Method and Description |
|---|---|
String |
getComponentDescription()
Return a human readable short description of this component.
|
String |
getComponentType()
Each component must define it's type name.
|
default Component[] |
getContainedComponents()
Return list of components contained within this component.
|
static final Component[] EMPTY
String getComponentType()
Example component types include "Controller", "ErrorHandler"
String getComponentDescription()
default Component[] getContainedComponents()
This is most useful if the component is a Builder or Factory which produces additional components that need to be registered with ComponentRegistry.
This method must the same array of components each time; Do not re-construct the contained components on each call.
This method will be automatically called by the ComponentRegistry to register all of its contained components.
Copyright © 2016. All rights reserved.