2 * Copyright (c) 2016 Inocybe Technologies and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.netconf.topology.impl;
10 import org.opendaylight.netconf.topology.api.SchemaRepositoryProvider;
11 import org.opendaylight.yangtools.yang.parser.repo.SharedSchemaRepository;
13 public class SchemaRepositoryProviderImpl implements SchemaRepositoryProvider {
15 private final SharedSchemaRepository schemaRepository;
17 public SchemaRepositoryProviderImpl(final String moduleName) {
18 schemaRepository = new SharedSchemaRepository(moduleName);
22 public SharedSchemaRepository getSharedSchemaRepository() {
23 return schemaRepository;