2 * Copyright (c) 2016 Brocade Communication Systems 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.callhome.mount;
10 import org.opendaylight.netconf.topology.api.SchemaRepositoryProvider;
11 import org.opendaylight.yangtools.yang.parser.repo.SharedSchemaRepository;
13 // FIXME: Figure out why blueprint rejects to instantiate if class is not public
14 public class SchemaRepositoryProviderImpl implements SchemaRepositoryProvider {
16 private final SharedSchemaRepository schemaRepository;
18 public SchemaRepositoryProviderImpl(final String moduleName) {
19 schemaRepository = new SharedSchemaRepository(moduleName);
23 public SharedSchemaRepository getSharedSchemaRepository() {
24 return schemaRepository;