Merge "Update config-module-archetype."
[controller.git] / opendaylight / md-sal / sal-dom-broker / src / main / java / org / opendaylight / controller / config / yang / md / sal / dom / impl / DomInmemoryDataBrokerModuleFactory.java
1 /**
2 * Generated file
3
4 * Generated from: yang module name: opendaylight-sal-dom-broker-impl  yang module local name: dom-inmemory-data-broker
5 * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
6 * Generated at: Fri Mar 28 17:32:48 CET 2014
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 DomInmemoryDataBrokerModuleFactory extends org.opendaylight.controller.config.yang.md.sal.dom.impl.AbstractDomInmemoryDataBrokerModuleFactory
21 {
22
23
24
25     @Override
26     public Module createModule(final String instanceName, final DependencyResolver dependencyResolver, final BundleContext bundleContext) {
27         DomInmemoryDataBrokerModule module = (DomInmemoryDataBrokerModule) super.createModule(instanceName, dependencyResolver, bundleContext);
28         module.setBundleContext(bundleContext);
29         return module;
30     }
31
32     @Override
33     public Module createModule(final String instanceName, final DependencyResolver dependencyResolver,
34             final DynamicMBeanWithInstance old, final BundleContext bundleContext) throws Exception {
35         DomInmemoryDataBrokerModule module = (DomInmemoryDataBrokerModule)  super.createModule(instanceName, dependencyResolver, old, bundleContext);
36         module.setBundleContext(bundleContext);
37         return module;
38     }
39 }