class DefaultAtlasModuleInfoRegistry implements AtlasModuleInfoRegistry {

    @Override
    public AtlasModuleInfo lookupByUri(String uri) {
        if (uri == null) {
            return null;
        }
        for (AtlasModuleInfo module : moduleInfos) {
            if (uri.startsWith(module.getUri())) {
                return module;
            }
        }
        return null;
    }

    public  DefaultAtlasModuleInfoRegistry(DefaultAtlasContextFactory factory);

}