2 * Copyright (c) 2014 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
8 package org.opendaylight.controller.config.yang.md.sal.dom.impl;
10 import org.opendaylight.controller.config.api.DependencyResolver;
11 import org.opendaylight.controller.config.api.DynamicMBeanWithInstance;
12 import org.opendaylight.controller.config.spi.Module;
13 import org.osgi.framework.BundleContext;
15 public class DomBrokerImplModuleFactory extends
16 org.opendaylight.controller.config.yang.md.sal.dom.impl.AbstractDomBrokerImplModuleFactory {
19 public Module createModule(String instanceName, DependencyResolver dependencyResolver,
20 BundleContext bundleContext) {
21 DomBrokerImplModule module = (DomBrokerImplModule)super.createModule(instanceName, dependencyResolver,
23 module.setBundleContext(bundleContext);
28 public Module createModule(String instanceName, DependencyResolver dependencyResolver, DynamicMBeanWithInstance old,
29 BundleContext bundleContext) throws Exception {
30 DomBrokerImplModule module = (DomBrokerImplModule)super.createModule(instanceName, dependencyResolver,
32 module.setBundleContext(bundleContext);