BUG-1422 Introduce Call-Home functionality for the NETCONF Topology.
[netconf.git] / netconf / callhome-provider / src / main / java / org / opendaylight / netconf / callhome / mount / SchemaRepositoryProviderImpl.java
1 /*
2  * Copyright (c) 2016 Brocade Communication Systems and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.netconf.callhome.mount;
9
10 import org.opendaylight.netconf.topology.api.SchemaRepositoryProvider;
11 import org.opendaylight.yangtools.yang.parser.repo.SharedSchemaRepository;
12
13 // FIXME: Figure out why blueprint rejects to instantiate if class is not public
14 public class SchemaRepositoryProviderImpl implements SchemaRepositoryProvider {
15
16     private final SharedSchemaRepository schemaRepository;
17
18     public SchemaRepositoryProviderImpl(final String moduleName) {
19         schemaRepository = new SharedSchemaRepository(moduleName);
20     }
21
22     @Override
23     public SharedSchemaRepository getSharedSchemaRepository() {
24         return schemaRepository;
25     }
26 }