Merge "L3: Add eth to br-ex"
[netvirt.git] / openstack / net-virt-sfc / impl / src / main / java / org / opendaylight / yang / gen / v1 / urn / opendaylight / params / xml / ns / yang / netvirt / sfc / rev141210 / NetvirtSfcModuleFactory.java
1 /*
2  * Copyright © 2015 Red Hat, 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 package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.netvirt.sfc.rev141210;
10
11 import org.opendaylight.controller.config.api.DependencyResolver;
12 import org.osgi.framework.BundleContext;
13
14 public class NetvirtSfcModuleFactory extends AbstractNetvirtSfcModuleFactory {
15     @Override
16     public NetvirtSfcModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
17                                               BundleContext bundleContext) {
18         NetvirtSfcModule module = super.instantiateModule(instanceName, dependencyResolver, bundleContext);
19         module.setBundleContext(bundleContext);
20         return module;
21     }
22
23     @Override
24     public NetvirtSfcModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
25                                               NetvirtSfcModule oldModule, AutoCloseable oldInstance,
26                                               BundleContext bundleContext) {
27         NetvirtSfcModule module = super.instantiateModule(instanceName, dependencyResolver,
28                 oldModule, oldInstance, bundleContext);
29         module.setBundleContext(bundleContext);
30         return module;
31     }
32 }