Merge "Updating fix for bug 3989 based on discussion in OVSDB meeting"
[ovsdb.git] / library / impl / src / main / java / org / opendaylight / yang / gen / v1 / urn / opendaylight / params / xml / ns / yang / library / impl / rev141210 / LibraryModuleFactory.java
1 /*
2  * Copyright © 2015 Red Hat, 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 * Generated file
10 *
11 * Generated from: yang module name: library yang module local name: library
12 * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
13 * Generated at: Fri Jan 02 13:49:24 CST 2015
14 *
15 * Do not modify this file unless it is present under src/main directory
16 */
17 package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.library.impl.rev141210;
18
19 import org.opendaylight.controller.config.api.DependencyResolver;
20 import org.osgi.framework.BundleContext;
21
22 public class LibraryModuleFactory extends org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.library.impl.rev141210.AbstractLibraryModuleFactory {
23     @Override
24     public LibraryModule instantiateModule(String instanceName, DependencyResolver dependencyResolver, BundleContext bundleContext) {
25         LibraryModule module = super.instantiateModule(instanceName, dependencyResolver, bundleContext);
26         module.setBundleContext(bundleContext);
27         return module;
28     }
29
30     @Override
31     public LibraryModule instantiateModule(String instanceName, DependencyResolver dependencyResolver, LibraryModule oldModule, AutoCloseable oldInstance, BundleContext bundleContext) {
32         LibraryModule module = super.instantiateModule(instanceName, dependencyResolver, oldModule, oldInstance, bundleContext);
33         module.setBundleContext(bundleContext);
34         return module;
35     }
36 }