a11a7d67f5d4077006676dc476cf154e1de8ade8
[controller.git] / opendaylight / md-sal / sal-binding-broker / src / main / java / org / opendaylight / controller / config / yang / md / sal / binding / impl / BindingBrokerImplModuleFactory.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: opendaylight-sal-binding-broker-impl  yang module local name: binding-broker-impl
12 * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
13 * Generated at: Wed Nov 20 17:33:01 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.binding.impl;
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 BindingBrokerImplModuleFactory extends org.opendaylight.controller.config.yang.md.sal.binding.impl.AbstractBindingBrokerImplModuleFactory {
28
29
30     @Override
31     public Module createModule(String instanceName, DependencyResolver dependencyResolver, BundleContext bundleContext) {
32         BindingBrokerImplModule module = (BindingBrokerImplModule) super.createModule(instanceName, dependencyResolver, bundleContext);
33         module.setBundleContext(bundleContext);
34         return module;
35     }
36
37     @Override
38     public Module createModule(String instanceName, DependencyResolver dependencyResolver,
39             DynamicMBeanWithInstance old, BundleContext bundleContext) throws Exception {
40         BindingBrokerImplModule module = (BindingBrokerImplModule) super.createModule(instanceName, dependencyResolver, old, bundleContext);
41         module.setBundleContext(bundleContext);
42         return module;
43     }
44
45 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.