Replaced a couple of package imports with class imports
[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  * Copyright (c) 2014 Cisco Systems, 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: odl-sal-dom-clustered-store-cfg  yang module local name: dom-clustered-store-impl
12 * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
13 * Generated at: Wed Nov 27 17:09:17 CET 2013
14 *
15 * Do not modify this file unless it is present under src/main directory
16 */
17 package org.opendaylight.controller.config.yang.md.sal.dom.cluster.store;
18
19 import org.opendaylight.controller.config.api.DependencyResolver;
20 import org.opendaylight.controller.config.api.DynamicMBeanWithInstance;
21 import org.opendaylight.controller.config.spi.Module;
22 import org.osgi.framework.BundleContext;
23
24 /**
25 *
26 */
27 public class ClusteredDataStoreImplModuleFactory extends org.opendaylight.controller.config.yang.md.sal.dom.cluster.store.AbstractClusteredDataStoreImplModuleFactory
28 {
29
30     @Override
31     public Module createModule(String instanceName, DependencyResolver dependencyResolver, BundleContext bundleContext) {
32         ClusteredDataStoreImplModule module = 
33         (ClusteredDataStoreImplModule) super.createModule(instanceName, dependencyResolver, bundleContext);
34         module.setBundleContext(bundleContext);
35         return module;
36     }
37     
38     @Override
39     public Module createModule(String instanceName, DependencyResolver dependencyResolver,
40             DynamicMBeanWithInstance old, BundleContext bundleContext) throws Exception {
41         ClusteredDataStoreImplModule module = 
42                 (ClusteredDataStoreImplModule) super.createModule(instanceName, dependencyResolver, old, bundleContext);
43         module.setBundleContext(bundleContext);
44         return module;
45     }
46
47 }