Merge changes I50218f21,I6bc2631b
[controller.git] / opendaylight / md-sal / sal-dom-broker / src / main / java / org / opendaylight / controller / config / yang / md / sal / dom / impl / DomBrokerImplModuleFactory.java
1 /**
2  * Generated file
3
4  * Generated from: yang module name: opendaylight-sal-dom-broker-impl  yang module local name: dom-broker-impl
5  * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
6  * Generated at: Wed Nov 20 17:04:41 CET 2013
7  *
8  * Do not modify this file unless it is present under src/main directory
9  */
10 package org.opendaylight.controller.config.yang.md.sal.dom.impl;
11
12 import org.opendaylight.controller.config.api.DependencyResolver;
13 import org.opendaylight.controller.config.api.DynamicMBeanWithInstance;
14 import org.opendaylight.controller.config.spi.Module;
15 import org.osgi.framework.BundleContext;
16
17 /**
18 *
19 */
20 public class DomBrokerImplModuleFactory extends
21         org.opendaylight.controller.config.yang.md.sal.dom.impl.AbstractDomBrokerImplModuleFactory {
22
23     @Override
24     public Module createModule(String instanceName, DependencyResolver dependencyResolver, BundleContext bundleContext) {
25         DomBrokerImplModule module = (DomBrokerImplModule) super.createModule(instanceName, dependencyResolver, bundleContext);
26         module.setBundleContext(bundleContext);
27         return module;
28     }
29
30     @Override
31     public Module createModule(String instanceName, DependencyResolver dependencyResolver,
32             DynamicMBeanWithInstance old, BundleContext bundleContext) throws Exception {
33         DomBrokerImplModule module = (DomBrokerImplModule) super.createModule(instanceName, dependencyResolver, old, bundleContext);
34         module.setBundleContext(bundleContext);
35         return module;
36     }
37
38 }