Initial message bus implementation
[controller.git] / opendaylight / md-sal / messagebus-impl / src / main / java / org / opendaylight / controller / config / yang / messagebus / app / impl / MessageBusAppImplModuleFactory.java
1 /*
2 * Generated file
3 *
4 * Generated from: yang module name: message-bus-app-impl yang module local name: messagebus-app-impl
5 * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
6 * Generated at: Tue Feb 03 09:03:11 CET 2015
7 *
8 * Do not modify this file unless it is present under src/main directory
9 */
10 package org.opendaylight.controller.config.yang.messagebus.app.impl;
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 public class MessageBusAppImplModuleFactory extends org.opendaylight.controller.config.yang.messagebus.app.impl.AbstractMessageBusAppImplModuleFactory {
18     @Override
19     public Module createModule(String instanceName,
20                                DependencyResolver dependencyResolver,
21                                BundleContext bundleContext) {
22
23         MessageBusAppImplModule module =
24                 (MessageBusAppImplModule) super.createModule(instanceName,
25                         dependencyResolver,
26                         bundleContext);
27
28         module.setBundleContext(bundleContext);
29
30         return module;
31     }
32
33     @Override
34     public Module createModule(String instanceName,
35                                DependencyResolver dependencyResolver,
36                                DynamicMBeanWithInstance old,
37                                BundleContext bundleContext)
38             throws Exception {
39
40         MessageBusAppImplModule module =
41                 (MessageBusAppImplModule) super.createModule(instanceName,
42                         dependencyResolver,
43                         old,
44                         bundleContext);
45
46         module.setBundleContext(bundleContext);
47
48         return module;
49     }
50
51 }

©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.