Add copyright headers to sal-rest-connector
[netconf.git] / opendaylight / netconf / netconf-topology / src / main / java / org / opendaylight / controller / config / yang / netconf / topology / shared / schema / repository / SchemaRepositoryImplModuleFactory.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, Inc. 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
9 /*
10 * Generated file
11 *
12 * Generated from: yang module name: shared-schema-repository yang module local name: shared-schema-repository-impl
13 * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
14 * Generated at: Tue Sep 08 13:43:39 CEST 2015
15 *
16 * Do not modify this file unless it is present under src/main directory
17 */
18 package org.opendaylight.controller.config.yang.netconf.topology.shared.schema.repository;
19
20 import com.google.common.collect.Sets;
21 import java.util.Set;
22 import org.opendaylight.controller.config.api.DependencyResolverFactory;
23 import org.opendaylight.controller.config.api.ModuleIdentifier;
24 import org.osgi.framework.BundleContext;
25
26 public class SchemaRepositoryImplModuleFactory extends org.opendaylight.controller.config.yang.netconf.topology.shared.schema.repository.AbstractSchemaRepositoryImplModuleFactory {
27
28     public static final ModuleIdentifier defaultInstanceId = new ModuleIdentifier(NAME, "default-shared-schema-repository");
29
30     @Override
31     public Set<SchemaRepositoryImplModule> getDefaultModules(DependencyResolverFactory dependencyResolverFactory, BundleContext bundleContext) {
32         SchemaRepositoryImplModule defaultModule = new SchemaRepositoryImplModule(
33                 defaultInstanceId, dependencyResolverFactory.createDependencyResolver(defaultInstanceId));
34         return Sets.newHashSet(defaultModule);
35     }
36 }