* @throws EZBComponentException if registering fails.
*/
public void register(final String componentName, final EZBComponent component) throws EZBComponentException {
// Existing ?
if (this.components.containsKey(componentName)) {
throw new EZBComponentException("Cannot register the component with the name '" + componentName
+ "'. There is an existing component with this name.");
}
this.logger.debug("Registering component with name {0}.", componentName);
this.components.put(componentName, component);