Add blueprint XML for bgp-parser-spi
[bgpcep.git] / bgp / parser-spi / src / main / java / org / opendaylight / controller / config / yang / bgp / parser / spi / SimpleBGPExtensionProviderContextModuleFactory.java
1 /*
2  * Copyright (c) 2013 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  * Generated file
10
11  * Generated from: yang module name: config-bgp-parser-spi  yang module local name: bgp-extensions-impl
12  * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
13  * Generated at: Mon Nov 18 10:44:24 CET 2013
14  *
15  * Do not modify this file unless it is present under src/main directory
16  */
17 package org.opendaylight.controller.config.yang.bgp.parser.spi;
18
19 import org.opendaylight.controller.config.api.DependencyResolver;
20 import org.osgi.framework.BundleContext;
21
22 /**
23  * @deprecated Replaced by blueprint wiring
24  */
25 @Deprecated
26 public class SimpleBGPExtensionProviderContextModuleFactory extends AbstractSimpleBGPExtensionProviderContextModuleFactory {
27     @Override
28     public SimpleBGPExtensionProviderContextModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
29             SimpleBGPExtensionProviderContextModule oldModule, AutoCloseable oldInstance, BundleContext bundleContext) {
30         SimpleBGPExtensionProviderContextModule module = super.instantiateModule(instanceName, dependencyResolver, oldModule,
31                 oldInstance, bundleContext);
32         module.setBundleContext(bundleContext);
33         return module;
34     }
35
36     @Override
37     public SimpleBGPExtensionProviderContextModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
38             BundleContext bundleContext) {
39         SimpleBGPExtensionProviderContextModule module = super.instantiateModule(instanceName, dependencyResolver, bundleContext);
40         module.setBundleContext(bundleContext);
41         return module;
42     }
43 }