def METHOD_NAME(moduleName, className, parentLogger=None):
    """
    Create an object of a given database component.
    :param moduleName: module name to be loaded
    :param className: class name
    :param parentLogger: the parentLogger to use in the DB
    :return: object instance wrapped in a standard Dirac return object.
    """
    objectLoader = ObjectLoader()
    componentModule = f"ResourceStatusSystem.DB.{moduleName}"
    result = objectLoader.loadObject(componentModule, className)
    if not result["OK"]:
        gLogger.error("Failed to load RSS component", f"{moduleName}: {result['Message']}")
        return result
    componentClass = result["Value"]
    component = componentClass(parentLogger=parentLogger)
    return S_OK(component)