BGPCEP-701: Remove old statistics, keep only openconfig stats
[bgpcep.git] / bgp / rib-impl / src / main / java / org / opendaylight / controller / config / yang / bgp / rib / impl / BGPDispatcherImplModuleFactory.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: bgp-rib-impl  yang module local name: bgp-dispatcher-impl
12  * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
13  * Generated at: Wed Nov 06 13:02:32 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.rib.impl;
18
19 import org.opendaylight.controller.config.api.DependencyResolver;
20 import org.osgi.framework.BundleContext;
21
22 /**
23  * @deprecated Replaced by blueprint wiring but remains for backwards compatibility until downstream users
24  *             of the provided config system service are converted to blueprint.
25  */
26 @Deprecated
27 public class BGPDispatcherImplModuleFactory extends AbstractBGPDispatcherImplModuleFactory {
28     @Override
29     public BGPDispatcherImplModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
30             BGPDispatcherImplModule oldModule, AutoCloseable oldInstance, BundleContext bundleContext) {
31         BGPDispatcherImplModule module = super.instantiateModule(instanceName, dependencyResolver, oldModule,
32                 oldInstance, bundleContext);
33         module.setBundleContext(bundleContext);
34         return module;
35     }
36
37     @Override
38     public BGPDispatcherImplModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
39             BundleContext bundleContext) {
40         BGPDispatcherImplModule module = super.instantiateModule(instanceName, dependencyResolver, bundleContext);
41         module.setBundleContext(bundleContext);
42         return module;
43     }
44 }