Add blueprint wiring for mdsal-netconf-connector
[netconf.git] / netconf / mdsal-netconf-connector / src / main / java / org / opendaylight / controller / config / yang / netconf / mdsal / mapper / NetconfMdsalMapperModuleFactory.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: netconf-mdsal-mapper yang module local name: netconf-mdsal-mapper
13 * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
14 * Generated at: Wed Jan 14 14:58:42 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.netconf.mdsal.mapper;
19
20 import org.opendaylight.controller.config.api.DependencyResolver;
21 import org.osgi.framework.BundleContext;
22
23 /**
24  * @deprecated Replaced by blueprint wiring
25  */
26 @Deprecated
27 public class NetconfMdsalMapperModuleFactory extends AbstractNetconfMdsalMapperModuleFactory {
28     @Override
29     public NetconfMdsalMapperModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
30                                                       NetconfMdsalMapperModule oldModule, AutoCloseable oldInstance, BundleContext bundleContext) {
31         NetconfMdsalMapperModule module = super.instantiateModule(instanceName, dependencyResolver, oldModule,
32                 oldInstance, bundleContext);
33         module.setBundleContext(bundleContext);
34         return module;
35     }
36
37     @Override
38     public NetconfMdsalMapperModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
39                                                            BundleContext bundleContext) {
40         NetconfMdsalMapperModule module = super.instantiateModule(instanceName, dependencyResolver, bundleContext);
41         module.setBundleContext(bundleContext);
42         return module;
43     }
44 }