2 * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others. All rights reserved.
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
12 * Generated from: yang module name: distributed-datastore-provider yang module local name: distributed-config-datastore-provider
13 * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
14 * Generated at: Tue Jun 24 17:14:50 PDT 2014
16 * Do not modify this file unless it is present under src/main directory
18 package org.opendaylight.controller.config.yang.config.distributed_datastore_provider;
20 import org.opendaylight.controller.config.api.DependencyResolver;
21 import org.opendaylight.controller.config.api.DynamicMBeanWithInstance;
22 import org.opendaylight.controller.config.spi.Module;
23 import org.osgi.framework.BundleContext;
25 public class DistributedConfigDataStoreProviderModuleFactory extends org.opendaylight.controller.config.yang.config.distributed_datastore_provider.AbstractDistributedConfigDataStoreProviderModuleFactory {
28 public Module createModule(String instanceName, DependencyResolver dependencyResolver, BundleContext bundleContext) {
29 DistributedConfigDataStoreProviderModule module = (DistributedConfigDataStoreProviderModule)super.createModule(instanceName,dependencyResolver,bundleContext);
30 module.setBundleContext(bundleContext);
35 public Module createModule(String instanceName, DependencyResolver dependencyResolver,
36 DynamicMBeanWithInstance old, BundleContext bundleContext) throws Exception {
37 DistributedConfigDataStoreProviderModule module = (DistributedConfigDataStoreProviderModule)super.createModule(instanceName, dependencyResolver,
39 module.setBundleContext(bundleContext);