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