454ba6b5a6e2ab076c0f23ba55ce62f555a5c2d7
[openflowplugin.git] / openflowplugin-impl / src / main / java / org / opendaylight / yang / gen / v1 / urn / opendaylight / params / xml / ns / yang / config / openflow / plugin / impl / rev150327 / OpenFlowProviderModuleFactory.java
1 /*
2 * Generated file
3 *
4 * Generated from: yang module name: openflow-plugin-provider-impl yang module local name: openflow-plugin-provider-impl
5 * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
6 * Generated at: Tue Mar 31 15:05:47 CEST 2015
7 *
8 * Do not modify this file unless it is present under src/main directory
9 */
10 package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.config.openflow.plugin.impl.rev150327;
11
12 import org.opendaylight.controller.config.api.DependencyResolver;
13 import org.osgi.framework.BundleContext;
14
15 /**
16  * @deprecated Replaced by blueprint wiring
17  */
18 @Deprecated
19 public class OpenFlowProviderModuleFactory extends AbstractOpenFlowProviderModuleFactory {
20     @Override
21     public OpenFlowProviderModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
22             OpenFlowProviderModule oldModule, AutoCloseable oldInstance, BundleContext bundleContext) {
23         OpenFlowProviderModule module = super.instantiateModule(instanceName, dependencyResolver, oldModule,
24                 oldInstance, bundleContext);
25         module.setBundleContext(bundleContext);
26         return module;
27     }
28
29     @Override
30     public OpenFlowProviderModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
31             BundleContext bundleContext) {
32         OpenFlowProviderModule module = super.instantiateModule(instanceName, dependencyResolver, bundleContext);
33         module.setBundleContext(bundleContext);
34         return module;
35     }
36 }