2 * Copyright (c) 2015 Cisco Systems, Inc. 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
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
16 * Do not modify this file unless it is present under src/main directory
18 package org.opendaylight.controller.config.yang.netconf.topology.shared.schema.repository;
20 import com.google.common.collect.Sets;
22 import org.opendaylight.controller.config.api.DependencyResolverFactory;
23 import org.opendaylight.controller.config.api.ModuleIdentifier;
24 import org.osgi.framework.BundleContext;
26 public class SchemaRepositoryImplModuleFactory extends org.opendaylight.controller.config.yang.netconf.topology.shared.schema.repository.AbstractSchemaRepositoryImplModuleFactory {
28 public static final ModuleIdentifier defaultInstanceId = new ModuleIdentifier(NAME, "default-shared-schema-repository");
31 public Set<SchemaRepositoryImplModule> getDefaultModules(DependencyResolverFactory dependencyResolverFactory, BundleContext bundleContext) {
32 SchemaRepositoryImplModule defaultModule = new SchemaRepositoryImplModule(
33 defaultInstanceId, dependencyResolverFactory.createDependencyResolver(defaultInstanceId));
34 return Sets.newHashSet(defaultModule);