2 * Copyright © 2015 Red Hat, Inc. and others. All rights reserved.
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
9 package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.netvirt.sfc.rev141210;
11 import org.opendaylight.controller.config.api.DependencyResolver;
12 import org.osgi.framework.BundleContext;
14 public class NetvirtSfcModuleFactory extends AbstractNetvirtSfcModuleFactory {
16 public NetvirtSfcModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
17 BundleContext bundleContext) {
18 NetvirtSfcModule module = super.instantiateModule(instanceName, dependencyResolver, bundleContext);
19 module.setBundleContext(bundleContext);
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);