3359bbea0840800ce19dfb22dcab6516dd54d0a8
[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 @Deprecated
26 public class MessageBusAppImplModuleFactory extends AbstractMessageBusAppImplModuleFactory {
27     @Override
28     public Module createModule(String instanceName,
29                                DependencyResolver dependencyResolver,
30                                BundleContext bundleContext) {
31
32         MessageBusAppImplModule module =
33                 (MessageBusAppImplModule) super.createModule(instanceName,
34                         dependencyResolver,
35                         bundleContext);
36
37         module.setBundleContext(bundleContext);
38
39         return module;
40     }
41
42     @Override
43     public Module createModule(String instanceName,
44                                DependencyResolver dependencyResolver,
45                                DynamicMBeanWithInstance old,
46                                BundleContext bundleContext)
47             throws Exception {
48
49         MessageBusAppImplModule module =
50                 (MessageBusAppImplModule) super.createModule(instanceName,
51                         dependencyResolver,
52                         old,
53                         bundleContext);
54
55         module.setBundleContext(bundleContext);
56
57         return module;
58     }
59
60 }

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