def METHOD_NAME(self):
    ComponentRegistry._instance = None
    return tornado.web.Application(
        [
            (
                "/component/(.*)",
                ComponentRequestHandler,
                dict(registry=ComponentRegistry.instance()),
            )
        ]
    )