Add blueprint wiring to netconf-notification-impl
[netconf.git] / netconf / netconf-notifications-impl / src / main / java / org / opendaylight / controller / config / yang / netconf / northbound / notification / impl / NetconfNotificationManagerModuleFactory.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-northbound-notification-impl yang module local name: netconf-notification-manager
13 * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
14 * Generated at: Fri Aug 07 17:09:20 CEST 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.northbound.notification.impl;
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 NetconfNotificationManagerModuleFactory extends AbstractNetconfNotificationManagerModuleFactory {
28
29     @Override
30     public NetconfNotificationManagerModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
31                                                               NetconfNotificationManagerModule oldModule, AutoCloseable oldInstance, BundleContext bundleContext) {
32         NetconfNotificationManagerModule module = super.instantiateModule(instanceName, dependencyResolver, oldModule,
33                 oldInstance, bundleContext);
34         module.setBundleContext(bundleContext);
35         return module;
36     }
37
38     @Override
39     public NetconfNotificationManagerModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
40                                                            BundleContext bundleContext) {
41         NetconfNotificationManagerModule module = super.instantiateModule(instanceName, dependencyResolver, bundleContext);
42         module.setBundleContext(bundleContext);
43         return module;
44     }
45 }