ComponentMetadata argument must have an id. So unnamed components should have an id generated prior to invoking this method. Also, no component definition may already be registered under the same id.
@param component the component to be registered
@throws IllegalArgumentException if the component has no id
@throws ComponentNameAlreadyInUseException if there already exists a component definitionin the registry with the same id
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |