Wired ClusteredDataStore with Configuration Subsytem
[controller.git] / opendaylight / md-sal / clustered-data-store / implementation / src / main / java / org / opendaylight / controller / config / yang / md / sal / dom / cluster / store / ClusteredDataStoreImplModuleFactory.java
1 /**
2 * Generated file
3
4 * Generated from: yang module name: odl-sal-dom-clustered-store-cfg  yang module local name: dom-clustered-store-impl
5 * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
6 * Generated at: Wed Nov 27 17:09:17 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.cluster.store;
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 ClusteredDataStoreImplModuleFactory extends org.opendaylight.controller.config.yang.md.sal.dom.cluster.store.AbstractClusteredDataStoreImplModuleFactory
21 {
22
23     @Override
24     public Module createModule(String instanceName, DependencyResolver dependencyResolver, BundleContext bundleContext) {
25         ClusteredDataStoreImplModule module = 
26         (ClusteredDataStoreImplModule) super.createModule(instanceName, dependencyResolver, bundleContext);
27         module.setBundleContext(bundleContext);
28         return module;
29     }
30     
31     @Override
32     public Module createModule(String instanceName, DependencyResolver dependencyResolver,
33             DynamicMBeanWithInstance old, BundleContext bundleContext) throws Exception {
34         ClusteredDataStoreImplModule module = 
35                 (ClusteredDataStoreImplModule) super.createModule(instanceName, dependencyResolver, old, bundleContext);
36         module.setBundleContext(bundleContext);
37         return module;
38     }
39
40 }