def METHOD_NAME(self, jscomponent_class):
    """
    Add the given ``jscomponent_class`` to the registry.
    Parameters:
        jscomponent_class (django_cradmin.javascriptregistry.component.AbstractJsComponent):
            The javascript component class to add
            to the registry.
    """
    if jscomponent_class.get_component_id() in self._jscomponent_classes:
        raise DuplicateComponentId('Duplicate component ID in javascriptregistry: {}'.format(
            jscomponent_class.get_component_id()))
    self._jscomponent_classes[jscomponent_class.get_component_id()] = jscomponent_class